ProducingKey.java

biz/hammurapi/cache/ProducingKey.java

Violations

Inspector Message Severity Location
Java Inspector 048 Copyrights information should be present in each file. 1

Source code

1package biz.hammurapi.cache;
2
3/**
4 * Key, which knows how to produce corresponding value if it is not cached.
5 * Implementations shall also properly imlement equals() and hashCode().
6 * @author Pavel
7 */
8public interface ProducingKey {
9
10 /**
11 * Produces value for the key.
12 * @return
13 */
14 Entry get();
15
16}
17