Sole constructor. (For invocation by subclass constructors, typically implicit.)
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
Returns the value to which the specified key is mapped, or {@code defaultValue} if this map contains no mapping for the key.
Returns <tt>true</tt> if this map contains no key-value mappings.
{@inheritDoc}
Compares the specified object with this map for equality. Returns <tt>true</tt> if the given object is also a map and the two maps represent the same mappings. More formally, two maps <tt>m1</tt> and <tt>m2</tt> represent the same mappings if <tt>m1.entrySet().equals(m2.entrySet())</tt>. This ensures that the <tt>equals</tt> method works properly across different implementations of the <tt>Map</tt> interface.
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
Returns the number of key-value mappings in this map.
Returns the hash code value for this map. The hash code of a map is defined to be the sum of the hash codes of each entry in the map's <tt>entrySet()</tt> view. This ensures that <tt>m1.equals(m2)</tt> implies that <tt>m1.toHash()==m2.toHash()</tt> for any two maps <tt>m1</tt> and <tt>m2</tt>, as required by the general contract of {@link Object#toHash}.
Returns a string representation of this map. The string representation consists of a list of key-value mappings in the order returned by the map's <tt>entrySet</tt> view's iterator, enclosed in braces (<tt>"{}"</tt>). Adjacent mappings are separated by the characters <tt>", "</tt> (comma and space). Each key-value mapping is rendered as the key followed by an equals sign (<tt>"="</tt>) followed by the associated value. Keys and values are converted to strings as by {@link string#valueOf(Object)}.
{@inheritDoc}
Returns a shallow copy of this <tt>AbstractMap</tt> instance: the keys and values themselves are not cloned.
The number of key-value mappings contained in this map.