Top Description Fields Constructors Methods
com.univocity.parsers.common.input.concurrent

pack-priv Class Entry<T>

extends Object
Class Inheritance
Type Parameters
<T>
the type of this entry.

An entry used by the FixedInstancePool
Author
Univocity Software Pty Ltd - [email protected]
See Also
FixedInstancePool

Field Summary

Modifier and TypeField and Description
pack-priv final T
pack-priv final int

Constructor Summary

AccessConstructor and Description
pack-priv
Entry(T
the value in this entry
entry
,
int
the position of this entry in the FixedInstancePool
index
)

Creates a new entry with an object and its position in the FixedInstancePool

Method Summary

Modifier and TypeMethod and Description
public T

Returns:

the object stored in this FixedInstancePool entry.
get
()

Returns the object stored in this FixedInstancePool entry.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

entryback to summary
pack-priv final T entry
indexback to summary
pack-priv final int index

Constructor Detail

Entryback to summary
pack-priv Entry(T entry, int index)

Creates a new entry with an object and its position in the FixedInstancePool

Parameters
entry:T

the value in this entry

index:int

the position of this entry in the FixedInstancePool

Method Detail

getback to summary
public T get()

Returns the object stored in this FixedInstancePool entry.

Returns:T

the object stored in this FixedInstancePool entry.