Searched defs:promise (Results 1 - 1 of 1) sorted by relevance

/openjdk7/jdk/src/share/classes/java/lang/
H A DClassValue.java305 private final Entry<T> promise = new Entry<>(this); field in class:ClassValue.Version
308 Entry<T> promise() { return promise; } method in class:ClassValue.Version
314 * <li> promise if value == Entry.this
330 /** For creating a promise. */
333 this.value = this; // for a promise, value is not of type T, but Entry!
335 /** Fetch the value. This entry must not be a promise. */
426 /** Initiate a query. Store a promise (placeholder) if there is no value yet. */
433 e = v.promise();
434 // The presence of a promise mean
[all...]

Completed in 31 milliseconds