org.op4j.util
Class MapEntry<K,V>
Object
org.op4j.util.MapEntry<K,V>
- All Implemented Interfaces:
- Map.Entry<K,V>
public final class MapEntry<K,V>
- extends Object
- implements Map.Entry<K,V>
- Since:
- 1.0
- Author:
- Daniel Fernández
MapEntry
public MapEntry(K key,
V value)
getKey
public K getKey()
- Specified by:
getKey
in interface Map.Entry<K,V>
getValue
public V getValue()
- Specified by:
getValue
in interface Map.Entry<K,V>
setValue
public V setValue(V value)
- Specified by:
setValue
in interface Map.Entry<K,V>
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Map.Entry<K,V>
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Specified by:
equals
in interface Map.Entry<K,V>
- Overrides:
equals
in class Object
Copyright © 2012 The OP4J team. All Rights Reserved.