|
ref_send API 2.17 defensive programming in Java |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.joe_e.Struct org.ref_send.promise.Deferred<T>
T
- referent typepublic class Deferred<T>
A return from an explicit promise creation.
This class represents the reified tail and
head of a reference:
-
-
>
.
Field Summary | |
---|---|
Promise<T> |
promise
permission to access the referent |
Resolver<T> |
resolver
permission to resolve the referent |
Constructor Summary | |
---|---|
Deferred(Promise<T> promise,
Resolver<T> resolver)
Constructs an instance. |
Method Summary |
---|
Methods inherited from class org.joe_e.Struct |
---|
equals, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.joe_e.Selfless |
---|
hashCode |
Field Detail |
---|
public final Promise<T> promise
public final Resolver<T> resolver
Constructor Detail |
---|
public Deferred(Promise<T> promise, Resolver<T> resolver)
promise
- promise
resolver
- resolver
|
ref_send API 2.17 defensive programming in Java |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1998-2009 Waterken Inc. under the terms of the MIT X license.