java.lang.Object
org.apache.jena.mem2.collection.HashCommonBase<E>
- Type Parameters:
E
- the element type
- Direct Known Subclasses:
HashCommonMap
,HashCommonSet
Common code for hash tables and sets.
The hash table is a lookup table.
The hash codes are not stored. When the table grows, all hash codes need to be recalculated.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
containsKey
(E key) boolean
isEmpty()
void
removeUnchecked
(E key) Remove the objectkey
from this hash's keys if it is present (if it's absent, do nothing).int
size()
boolean
Remove the objectkey
from this hash's keys if it is present (if it's absent, do nothing).
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
tryRemove
Remove the objectkey
from this hash's keys if it is present (if it's absent, do nothing). -
removeUnchecked
Remove the objectkey
from this hash's keys if it is present (if it's absent, do nothing). -
containsKey
-
anyMatch
-
keyIterator
-
keySpliterator
-