Class Hash<V>
java.lang.Object
org.graalvm.shadowed.org.jcodings.util.Hash<V>
- All Implemented Interfaces:
Iterable<V>
- Direct Known Subclasses:
BytesHash,CaseInsensitiveBytesHash,IntArrayHash,IntHash,ObjHash
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclassclass -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Hash.HashEntry<V> protected intprotected Hash.HashEntry<V>[] -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
table
-
size
protected int size -
head
-
-
Constructor Details
-
Hash
public Hash() -
Hash
public Hash(int size)
-
-
Method Details
-
init
protected abstract void init() -
size
public final int size() -
checkResize
protected final void checkResize() -
resize
protected final void resize(int newCapacity) -
bucketIndex
protected static int bucketIndex(int h, int length) -
hashValue
protected static int hashValue(int h) -
iterator
-
entryIterator
-