org.jcodings.util
Class ObjHash<K,V>

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

public final class ObjHash<K,V>
extends Hash<V>


Nested Class Summary
static class ObjHash.ObjHashEntry<K,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
ObjHash()
           
 
Method Summary
 V delete(K key)
           
 V get(K key)
           
protected  void init()
           
 V put(K key, V value)
           
 void putDirect(K 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

ObjHash

public ObjHash()
Method Detail

init

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

put

public V put(K key,
             V value)

putDirect

public void putDirect(K key,
                      V value)

get

public V get(K key)

delete

public V delete(K key)


Copyright © 2011. All Rights Reserved.