org.jcodings.util
Class IntHash<V>

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

public class IntHash<V>
extends Hash<V>


Nested Class Summary
static class IntHash.IntHashEntry<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
IntHash()
           
IntHash(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

IntHash

public IntHash()

IntHash

public IntHash(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.