|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.erights.e.elib.ref.Switcher
Untamed: The facet of a switchable promise for switching the object being offered as the resolution of the promise, or for committing to the current one. The Switcher can continue switching the Ref's target until commit()ted.
Field Summary | |
private Ref |
myOptRef
Deprecated. Once it's done, it stops pointing at the Ref. |
Constructor Summary | |
(package private) |
Switcher(Ref sRef)
Deprecated. sRef should still be in a swicthable state, and this should be its only resolver. |
Method Summary | |
void |
__printOn(TextWriter out)
Deprecated. Enabled: |
boolean |
commit()
Deprecated. Enabled: Become done. |
boolean |
isDone()
Deprecated. Enabled: @see Resolver#isDone |
void |
setTarget(Object target)
Deprecated. Enabled: Queues all accumulated and future messages for delivery to target. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Ref myOptRef
Constructor Detail |
Switcher(Ref sRef)
Method Detail |
public void setTarget(Object target)
public boolean isDone()
public boolean commit()
public void __printOn(TextWriter out) throws IOException
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |