T - The type stored by the propertypublic interface ShareableProperty<T> extends Property
| Modifier and Type | Method and Description |
|---|---|
T |
createShareableInstance()
Create a new instance of type T for use by components that need a shareable
instance to pass into
get(int, Object). |
void |
get(int index,
T result)
Get the property value at index, but instead of returning a new instance
or the value, the result parameter is mutated to equal the property
value.
|
getCapacity, setCapacity, swapT createShareableInstance()
get(int, Object).void get(int index,
T result)
createShareableInstance().index - The index to accessresult - The instance of T to modifyCopyright © 2013. All Rights Reserved.