X - - The type of X this pointer wraps.public final class Pointer<X> extends Object implements ProvidesValue<X>, ReceivesValue<X>, Bean<X>
It implements ProvidesValue, ReceivesValue and Bean.
This class is final for compiler optimization; you should pass references as Bean if you want api compatibility, and Pointer if you want better inlining characteristics.
ReceivesValue.NoOp<T>| Modifier and Type | Method and Description |
|---|---|
X |
get() |
X |
remove() |
void |
set(X x)
set() can be used either as an asynchronous method callback,
or as an actual setter for a
Bean value. |
public Pointer()
public Pointer(X x)
public final void set(X x)
ReceivesValueBean value.set in interface ReceivesValue<X>x - - The object to receive.public final X get()
get in interface ProvidesValue<X>public final X remove()
Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.