40 |
*/ |
*/ |
41 |
|
|
42 |
public class FunctionCacheEntry implements Obs { |
public class FunctionCacheEntry implements Obs { |
43 |
|
/** The object to represent that this cache entry is dirty, |
44 |
|
* and needs to be recalculated. |
45 |
|
*/ |
46 |
static final public Object DIRTY = new Object(); |
static final public Object DIRTY = new Object(); |
47 |
|
/** The object to represent that calculating this cache entry |
48 |
|
* yielded an error and thus we don't have a value |
49 |
|
* but recalculation is not possible either. |
50 |
|
*/ |
51 |
|
static final public Object ERROR = new Object(); |
52 |
|
|
53 |
/** The input this cache entry is for. |
/** The input this cache entry is for. |
54 |
* Stored here so that it may be used as the hash key. |
* Stored here so that it may be used as the hash key. |