Allow subclasses to access the list objects.
Allow subclasses to access the list objects. Useful for subclasses calling reset and then re-entering a filtered subset of the old objects.
The size others might want to allocate to hold data relevant to this Index.
The size others might want to allocate to hold data relevant to this Index. If maxSize is set can be bigger than size.
Clears the index.
Return an object at the given position or throws an exception if it's not found.
Like index, but throw an exception if the entry is not already there.
Returns an immutable view of the index.
Return a densely-packed positive integer index for the given object.
Return a densely-packed positive integer index for the given object. By default, allocate a new index (at the end) if the object was not found, but if immutable may return -1
If positive, throw error if Index reaches size larger than this.
If positive, throw error if Index reaches size larger than this. Use for growable multi-dim Factor weightsSet
Wipe the Index clean
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
Returns a synchronized view of the index.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
Class that mimics Java's string indexer, but for anything.
Two extra views are provided: the index.synchronized view enables threadsafe access and the index.immutable view keeps prevents the (view) from being updated.