org.jcodings.util
Class IntArrayHash<V>

java.lang.Object
  extended by org.jcodings.util.Hash<V>
      extended by org.jcodings.util.IntArrayHash<V>
All Implemented Interfaces:
Iterable<V>

public final class IntArrayHash<V>
extends Hash<V>


Nested Class Summary
static class IntArrayHash.IntArrayHashEntry<V>
           
 
Nested classes/interfaces inherited from class org.jcodings.util.Hash
Hash.HashEntryIterator, Hash.HashIterator
 
Field Summary
 
Fields inherited from class org.jcodings.util.Hash
head, size, table
 
Constructor Summary
IntArrayHash()
           
IntArrayHash(int size)
           
 
Method Summary
 V delete(int... key)
           
 V get(int... key)
           
protected  void init()
           
 V put(int[] key, V value)
           
 void putDirect(int[] key, V value)
           
 
Methods inherited from class org.jcodings.util.Hash
bucketIndex, checkResize, entryIterator, hashValue, iterator, resize, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntArrayHash

public IntArrayHash()

IntArrayHash

public IntArrayHash(int size)
Method Detail

init

protected void init()
Specified by:
init in class Hash<V>

put

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

putDirect

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

get

public V get(int... key)

delete

public V delete(int... key)


Copyright © 2011. All Rights Reserved.