@Internal public final class ValueWrapper extends AbstractReleaseCallbackContainer implements ResolutionContext
AbstractReleaseCallbackContainer.release() method must be always called after the wrapper is
used, even if the resolved object is null (there might be still
some callbacks registered).| Modifier and Type | Method and Description |
|---|---|
Object |
get() |
boolean |
isNull() |
registerReleaseCallback, releaseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitregisterReleaseCallbackpublic Object get()
null if no such object existspublic boolean isNull()
true if there is no wrapped value (resolved object),
false otherwiseCopyright © 2014. All Rights Reserved.