T
- the type of this entry.class Entry<T>
extends java.lang.Object
FixedInstancePool
FixedInstancePool
Modifier and Type | Field and Description |
---|---|
(package private) T |
entry |
(package private) int |
index |
Constructor and Description |
---|
Entry(T entry,
int index)
Creates a new entry with an object and its position in the
FixedInstancePool |
Modifier and Type | Method and Description |
---|---|
T |
get()
Returns the object stored in this
FixedInstancePool entry. |
final T entry
final int index
Entry(T entry, int index)
FixedInstancePool
entry
- the value in this entryindex
- the position of this entry in the FixedInstancePool
public T get()
FixedInstancePool
entry.FixedInstancePool
entry.