All pastes #333249 Raw Edit

Something

public text v1 · immutable
#333249 ·published 2007-01-30 20:09 UTC
rendered paste body
[+] Found tags, highest ranked tag `<!-- ========= CONSTRUCTOR DETAIL ======== -->'.
public HashMap(int initialCapacity, float loadFactor)
THROWS IllegalArgumentException - if the initial capacity is negative or the load factor is nonpositive.



public HashMap(int initialCapacity)
THROWS IllegalArgumentException - if the initial capacity is negative.



public HashMap()



public HashMap(Map<? extends K,? extends V> m)
RETURNS the number of key-value mappings in this map
THROWS NullPointerException - if the specified map is null.



public int size()
RETURNS the number of key-value mappings in this map



public boolean isEmpty()
RETURNS true if this map contains no key-value mappings



public V get(Object key)
RETURNS the value to which this map maps the specified key, or null if the map contains no mapping for this key



public boolean containsKey(Object key)
RETURNS true if this map contains a mapping for the specified key



public V put(K key, V value)
RETURNS previous value associated with specified key, or null if there was no mapping for key



public void putAll(Map<? extends K,? extends V> m)
THROWS NullPointerException - if the specified map is null.



public V remove(Object key)
RETURNS previous value associated with specified key, or null if there was no mapping for key



public void clear()



public boolean containsValue(Object value)
RETURNS true if this map maps one or more keys to the specified value



public Object clone()
RETURNS a shallow copy of this map



public Set<K> keySet()
RETURNS a set view of the keys contained in this map



public Collection<V> values()
RETURNS a collection view of the values contained in this map



public Set<Map.Entry<K,V>> entrySet()
RETURNS a collection view of the mappings contained in this map