Package org.eclipse.emf.common.util
Class SegmentSequence.SegmentSequencePool.AccessUnitBase
java.lang.Object
org.eclipse.emf.common.util.Pool.AccessUnit<SegmentSequence>
org.eclipse.emf.common.util.SegmentSequence.SegmentSequencePool.AccessUnitBase
- Direct Known Subclasses:
SegmentSequence.SegmentSequencePool.SegmentsAccessUnit,SegmentSequence.SegmentSequencePool.SegmentsAndSegmentAccessUnit,SegmentSequence.SegmentSequencePool.SegmentsAndSegmentsAccessUnit,SegmentSequence.SegmentSequencePool.StringAccessUnit
- Enclosing class:
SegmentSequence.SegmentSequencePool
protected static class SegmentSequence.SegmentSequencePool.AccessUnitBase
extends Pool.AccessUnit<SegmentSequence>
A base class for all this pool's access units.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.common.util.Pool.AccessUnit
Pool.AccessUnit.Queue<E> -
Field Summary
Fields inherited from class org.eclipse.emf.common.util.Pool.AccessUnit
createdEntry, entries, hashCode, matchingIndex, next, queue, values, valuesLength -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionprotected SegmentSequencegetValue()protected static inthashCode(int initialHashCode, int delimiterHashCode, int delimiterPowerOf31, String[] segments, int length) A helper utility for computing the hash code starting with a base hash code and taking the given segments into account.protected booleansetArbitraryValue(Object value) protected voidsetValue(SegmentSequence value) Methods inherited from class org.eclipse.emf.common.util.Pool.AccessUnit
add, getEntry, getInternalizedValue, match, matches, rematches, reset
-
Constructor Details
-
AccessUnitBase
-
-
Method Details
-
getValue
- Specified by:
getValuein classPool.AccessUnit<SegmentSequence>
-
setValue
- Specified by:
setValuein classPool.AccessUnit<SegmentSequence>
-
setArbitraryValue
- Specified by:
setArbitraryValuein classPool.AccessUnit<SegmentSequence>
-
hashCode
protected static int hashCode(int initialHashCode, int delimiterHashCode, int delimiterPowerOf31, String[] segments, int length) A helper utility for computing the hash code starting with a base hash code and taking the given segments into account. It emulates the computation done byString.hashCode().
-