Top Inners Fields Constructors Methods
org.jcodings.util

public final Class IntArrayHash<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
IntArrayHash(int size)

Method Summary

Modifier and TypeMethod and Description
public V
delete(int... key)

public V
get(int... key)

private int
hashCode(int[] key)

protected void
init()

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

public V
put(int[] key, V value)

public void
putDirect(int[] key, V value)

Inherited from org.jcodings.util.Hash:
bucketIndexcheckResizeentryIteratorhashValueiteratorresizesize

Constructor Detail

IntArrayHashback to summary
public IntArrayHash()
IntArrayHashback to summary
public IntArrayHash(int size)

Method Detail

deleteback to summary
public V delete(int... key)
getback to summary
public V get(int... key)
hashCodeback to summary
private int hashCode(int[] key)
initback to summary
protected void init()

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

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

public final Class IntArrayHash.IntArrayHashEntry<V>

extends Hash.HashEntry<V>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public final int[]
Inherited from org.jcodings.util.Hash.HashEntry:
afterbeforehashnextvalue

Constructor Summary

AccessConstructor and Description
public
IntArrayHashEntry(int hash, Hash.HashEntry<V> next, V value, int[] key, Hash.HashEntry<V> head)

public

Method Summary

Modifier and TypeMethod and Description
public boolean
equals(int[] key)

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

Field Detail

keyback to summary
public final int[] key

Constructor Detail

IntArrayHashEntryback to summary
public IntArrayHashEntry(int hash, Hash.HashEntry<V> next, V value, int[] key, Hash.HashEntry<V> head)
IntArrayHashEntryback to summary
public IntArrayHashEntry()

Method Detail

equalsback to summary
public boolean equals(int[] key)