A hash set that allows some privileged protected access to its internals
Constructors
Members
Add all entries in xs
to set
Add all entries in xs
to set
Add entry x
to set
Add entry x
to set
Privileged access: Add entry x
at the last position where an unsuccsessful
findEntryByHash
or nextEntryByhash
operation returned. Needs to immediately
f...
Privileged access: Add entry x
at the last position where an unsuccsessful
findEntryByHash
or nextEntryByhash
operation returned. Needs to immediately
follow a findEntryByhash
or nextEntryByHash
operation that was unsucessful,
i.e. that returned null
.
Add entry at x
at index idx
Add entry at x
at index idx
Remove all elements from this set and set back to initial configuration
Remove all elements from this set and set back to initial configuration
The entry in the set such that x equals entry
, or else null
.
The entry in the set such that x equals entry
, or else null
.
Privileged access: Find first entry with given hashcode
Privileged access: Find first entry with given hashcode
Find entry such that x equals entry
. If it exists, return it.
If not, enter x
in set and return x
.
Find entry such that x equals entry
. If it exists, return it.
If not, enter x
in set and return x
.
Hashcode, can be overridden
Hashcode, can be overridden
Turn hashode x
into a table index
Turn hashode x
into a table index
The iterator of all elements in the set
The iterator of all elements in the set
Privileged access: Find next entry with given hashcode. Needs to immediately
follow a findEntryByhash
or nextEntryByHash
operation.
Privileged access: Find next entry with given hashcode. Needs to immediately
follow a findEntryByhash
or nextEntryByHash
operation.
The number of elements in the set
The number of elements in the set