| Constructor and Description |
|---|
AbstractDynamic(T inner) |
| Modifier and Type | Method and Description |
|---|---|
Object |
asObject()
Returns inner value implicitly asserting that the value is not absent, ie
Weak.isPresent() is true |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isPresent()
Returns if this instance wraps a non-null value.
|
Dynamic |
key()
Returns Weak instance wrapping the key for this node.
|
protected abstract Object |
keyLiteral() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitallChildren, allChildrenBreadthFirst, allChildrenDepthFirst, as, children, dget, from, get, getprotected final T inner
public AbstractDynamic(T inner)
public boolean isPresent()
WeakWeak.asObject() will not throwpublic Object asObject()
WeakWeak.isPresent() is trueprotected abstract Object keyLiteral()
public Dynamic key()
DynamicWeak.asObject()
Top-level Dynamic objects have the key value Dynamic.ROOT_KEYCopyright © 2017. All rights reserved.