Class MapEntry<KEYTYPE,VALUETYPE>
java.lang.Object
com.helger.commons.collection.map.MapEntry<KEYTYPE,VALUETYPE>
- Type Parameters:
KEYTYPE- The key type.VALUETYPE- The value type.
- All Implemented Interfaces:
Map.Entry<KEYTYPE,VALUETYPE>
@NotThreadSafe
public class MapEntry<KEYTYPE,VALUETYPE>
extends Object
implements Map.Entry<KEYTYPE,VALUETYPE>
Simple implementation of Map.Entry.
Important: The equals and hashCode implementation of this class is different from the Map.Entry default implementation class! The default Map.Entry claims to be equal with instances of this class, but this class is not equal to the Map.Entry implementation!
Important: The equals and hashCode implementation of this class is different from the Map.Entry default implementation class! The default Map.Entry claims to be equal with instances of this class, but this class is not equal to the Map.Entry implementation!
- Author:
- Philip Helger
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MapEntry
-
MapEntry
-
-
Method Details
-
getKey
-
getValue
-
setValue
-
equals
-
hashCode
public int hashCode() -
toString
-