-
class
A map<int, T>
based on JCasHashMap, but without the multi-threading support
This impl is for use in a single thread case only
Supports shrinking (reallocating the big table)
Implements Map - like interface: keys are non-0 ints - 0 is reserved for the empty key slot -
Integer.MIN_VALUE is reserved for removed slot
values can be anything, but null is the value returned by get if not found so values probably
should not be null
remove supported by replacing the value slot with null, and replacing the key slot with a
"removed" token.
class
class
A Map from non-null Objects of type T to ints int value 0 reserved to mean object is not in the
table.
class
A set of Objects of type T
This impl is for use in a single thread case only, when table is being updated.