- <init>
Create a new HashIndex, backed by the given collection types.
- add
Adds an object to the Index. If it was already in the Index, then nothing is
done. If it is not in t
- addAll
Adds every member of Collection to the Index. Does nothing for members already
in the Index.
- get
Gets the object whose index is the integer argument.
- indexOf
Takes an Object and returns the integer index of the Object, perhaps adding it
to the index first. R
- loadFromReader
This is the analogue of loadFromFilename, and is intended to be included in a
routine that unpacks a
- lock
Locks the Index. A locked index cannot have new elements added to it (calls to
#add will leave the I
- size
Returns the number of indexed objects.
- toStringOneEntryPerLine
- addToIndex
- addToIndexUnsafe
Add the given item to the index, but without taking any locks. Use this method
with care! But, this