Package org.jcodings.util
Class BytesHash<V>
- java.lang.Object
-
- org.jcodings.util.Hash<V>
-
- org.jcodings.util.BytesHash<V>
-
- All Implemented Interfaces:
java.lang.Iterable<V>
public final class BytesHash<V> extends Hash<V>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BytesHash.BytesHashEntry<V>
-
Nested classes/interfaces inherited from class org.jcodings.util.Hash
Hash.HashEntry<V>, Hash.HashEntryIterator, Hash.HashIterator
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description V
delete(byte[] bytes)
V
delete(byte[] bytes, int p, int end)
V
get(byte[] bytes)
V
get(byte[] bytes, int p, int end)
static int
hashCode(byte[] bytes, int p, int end)
protected void
init()
V
put(byte[] bytes, int p, int end, V value)
V
put(byte[] bytes, V value)
void
putDirect(byte[] bytes, int p, int end, V value)
void
putDirect(byte[] bytes, V value)
-
Methods inherited from class org.jcodings.util.Hash
bucketIndex, checkResize, entryIterator, hashValue, iterator, resize, size
-
-
-
-
Method Detail
-
hashCode
public static int hashCode(byte[] bytes, int p, int end)
-
putDirect
public void putDirect(byte[] bytes, V value)
-
putDirect
public void putDirect(byte[] bytes, int p, int end, V value)
-
get
public V get(byte[] bytes)
-
get
public V get(byte[] bytes, int p, int end)
-
delete
public V delete(byte[] bytes)
-
delete
public V delete(byte[] bytes, int p, int end)
-
-