public static class AllocatorContext.Reference extends Object implements Reference
This class represents a reference
allocated from the current AllocatorContext.
The reachability level of this reference is the scope of the
AllocatorContext in which it has been
created.
| Constructor and Description |
|---|
Reference()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
get()
Returns the value this reference referes to.
|
static AllocatorContext.Reference |
newInstance()
Returns a new stack reference instance allocated on the current stack
when executing in a
StackContext. |
void |
set(Object value)
Sets the value this reference referes to.
|
String |
toString()
Returns the string representation of the current value of
this reference.
|
public static AllocatorContext.Reference newInstance()
StackContext.public String toString()
public final Object get()
ReferenceCopyright © 2005–2021 Javolution. All rights reserved.