Class HashedSequence<S extends Sequence>
- Type Parameters:
S - the base sequence type.
public final class HashedSequence<S extends Sequence>
- extends Sequence
Sequence to assign hash codes to elements.
This sequence acts as a proxy for the real sequence, caching element hash
codes so they don't need to be recomputed each time. Sequences of this type
must be used with a
To construct an instance of this type use
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public int size()
- Specified by:
size in class
- total number of items in the sequence.
Copyright © 2012. All Rights Reserved.