Class LongListHashIndex
Object
LongListHashIndex
todo why don't we add this to ArrayForest? We could have a method indexOfCached() which would consult the cache;
todo | the cache would be invalidated on any forest update; also could be "smart" (invalidate only indices after the point of change)
todo Or: merge with IndexedForest
- Author:
- Igor Sereda
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LongListHashIndex
public LongListHashIndex(LongList list) -
LongListHashIndex
-
-
Method Details
-
indexOf
public int indexOf(long value) -
size
public int size()
-