winstone
Class SizeRestrictedHashMap<K,V>

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<K,V>
          extended by winstone.SizeRestrictedHashMap<K,V>
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<K,V>

public class SizeRestrictedHashMap<K,V>
extends java.util.Hashtable<K,V>

Author:
Kohsuke Kawaguchi
See Also:
SizeRestrictedHashtable, Serialized Form

Constructor Summary
SizeRestrictedHashMap(int cap)
           
SizeRestrictedHashMap(int initialCapacity, float loadFactor, int cap)
           
SizeRestrictedHashMap(int initialCapacity, int cap)
           
SizeRestrictedHashMap(java.util.Map<? extends K,? extends V> t, int cap)
           
 
Method Summary
 V put(K key, V value)
           
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SizeRestrictedHashMap

public SizeRestrictedHashMap(int initialCapacity,
                             float loadFactor,
                             int cap)

SizeRestrictedHashMap

public SizeRestrictedHashMap(int initialCapacity,
                             int cap)

SizeRestrictedHashMap

public SizeRestrictedHashMap(int cap)

SizeRestrictedHashMap

public SizeRestrictedHashMap(java.util.Map<? extends K,? extends V> t,
                             int cap)
Method Detail

put

public V put(K key,
             V value)
Specified by:
put in interface java.util.Map<K,V>
Overrides:
put in class java.util.Hashtable<K,V>


Copyright © 2013. All Rights Reserved.