Package org.eclipse.emf.common.util
Class Pool.ObjectAccessUnit<E>
java.lang.Object
org.eclipse.emf.common.util.Pool.AccessUnit<E>
org.eclipse.emf.common.util.Pool.ObjectAccessUnit<E>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected EThe object being accessed; In the case ofPool.contains(Object)orPool.remove(Object), the value may not be an instance ofE.Fields inherited from class org.eclipse.emf.common.util.Pool.AccessUnit
createdEntry, entries, hashCode, matchingIndex, next, queue, values, valuesLength -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.emf.common.util.Pool.AccessUnit
add, getEntry, getInternalizedValue, match, matches, rematches
-
Field Details
-
value
The object being accessed; In the case ofPool.contains(Object)orPool.remove(Object), the value may not be an instance ofE.
-
-
Constructor Details
-
ObjectAccessUnit
-
-
Method Details
-
getValue
- Specified by:
getValuein classPool.AccessUnit<E>
-
setValue
- Specified by:
setValuein classPool.AccessUnit<E>
-
setValue
-
setArbitraryValue
- Specified by:
setArbitraryValuein classPool.AccessUnit<E>
-
reset
public void reset(boolean isExclusive) Description copied from class:Pool.AccessUnitPrepare the access unit for reuse. In particular remove the hard references to each element in both thePool.AccessUnit.valuesandPool.AccessUnit.entriesand then reset thePool.AccessUnit.valuesLengthto 0- Overrides:
resetin classPool.AccessUnit<E>
-