Class Entry<T>
- java.lang.Object
-
- com.univocity.parsers.common.input.concurrent.Entry<T>
-
- Type Parameters:
T- the type of this entry.
class Entry<T> extends java.lang.ObjectAn entry used by theFixedInstancePool- See Also:
FixedInstancePool
-
-
Constructor Summary
Constructors Constructor Description Entry(T entry, int index)Creates a new entry with an object and its position in theFixedInstancePool
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tget()Returns the object stored in thisFixedInstancePoolentry.
-
-
-
Field Detail
-
entry
final T entry
-
index
final int index
-
-
Constructor Detail
-
Entry
Entry(T entry, int index)
Creates a new entry with an object and its position in theFixedInstancePool- Parameters:
entry- the value in this entryindex- the position of this entry in theFixedInstancePool
-
-
Method Detail
-
get
public T get()
Returns the object stored in thisFixedInstancePoolentry.- Returns:
- the object stored in this
FixedInstancePoolentry.
-
-