Class AbstractMapEntry<K,V>
java.lang.Object
org.apache.sis.internal.util.AbstractMapEntry<K,V>
- Type Parameters:
K- the type of keys maintained by the map.V- the type of mapped values.
- All Implemented Interfaces:
Map.Entry<K,V>
- Since:
- 0.5
- Version:
- 0.5
- Author:
- Martin Desruisseaux (Geomatys)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AbstractMapEntry
protected AbstractMapEntry()For subclasses constructors.
-
-
Method Details
-
setValue
Sets the value corresponding to this entry (optional operation). The default implementation throwsUnsupportedOperationExceptionfor the convenience of unmodifiable map implementations.- Specified by:
setValuein interfaceMap.Entry<K,V> - Parameters:
value- the new value to be stored in this entry.- Returns:
- the previous value (may be
null). - Throws:
UnsupportedOperationException- if this entry is unmodifiable.
-
equals
-
hashCode
-
toString
-