Top Inners Fields Constructors Methods
org.jcodings.util

public final Class BytesHash<V>

extends Hash<V>
Class Inheritance

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Inherited from org.jcodings.util.Hash:
headsizetable

Constructor Summary

AccessConstructor and Description
public
public
BytesHash(int size)

Method Summary

Modifier and TypeMethod and Description
public V
delete(byte[] bytes)

public V
delete(byte[] bytes, int p, int end)

public V
get(byte[] bytes)

public V
get(byte[] bytes, int p, int end)

public static int
hashCode(byte[] bytes, int p, int end)

protected void
init()

Implements abstract org.jcodings.util.Hash.init.

public V
put(byte[] bytes, V value)

public V
put(byte[] bytes, int p, int end, V value)

public void
putDirect(byte[] bytes, V value)

public void
putDirect(byte[] bytes, int p, int end, V value)

Inherited from org.jcodings.util.Hash:
bucketIndexcheckResizeentryIteratorhashValueiteratorresizesize

Constructor Detail

BytesHashback to summary
public BytesHash()
BytesHashback to summary
public BytesHash(int size)

Method Detail

deleteback to summary
public V delete(byte[] bytes)
deleteback to summary
public V delete(byte[] bytes, int p, int end)
getback to summary
public V get(byte[] bytes)
getback to summary
public V get(byte[] bytes, int p, int end)
hashCodeback to summary
public static int hashCode(byte[] bytes, int p, int end)
initback to summary
protected void init()

Implements abstract org.jcodings.util.Hash.init.

putback to summary
public V put(byte[] bytes, V value)
putback to summary
public V put(byte[] bytes, int p, int end, V value)
putDirectback to summary
public void putDirect(byte[] bytes, V value)
putDirectback to summary
public void putDirect(byte[] bytes, int p, int end, V value)
org.jcodings.util back to summary

public final Class BytesHash.BytesHashEntry<V>

extends Hash.HashEntry<V>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public final byte[]
public final int
public final int
p

Inherited from org.jcodings.util.Hash.HashEntry:
afterbeforehashnextvalue

Constructor Summary

AccessConstructor and Description
public
BytesHashEntry(int hash, Hash.HashEntry<V> next, V value, byte[] bytes, int p, int end, Hash.HashEntry<V> head)

public

Method Summary

Modifier and TypeMethod and Description
public boolean
equals(byte[] bytes, int p, int end)

Inherited from org.jcodings.util.Hash.HashEntry:
getHashremove

Field Detail

bytesback to summary
public final byte[] bytes
endback to summary
public final int end
pback to summary
public final int p

Constructor Detail

BytesHashEntryback to summary
public BytesHashEntry(int hash, Hash.HashEntry<V> next, V value, byte[] bytes, int p, int end, Hash.HashEntry<V> head)
BytesHashEntryback to summary
public BytesHashEntry()

Method Detail

equalsback to summary
public boolean equals(byte[] bytes, int p, int end)