org.op4j.util
Class MapEntry<K,V>

Object
  extended by 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

Constructor Summary
MapEntry(K key, V value)
           
 
Method Summary
 boolean equals(Object obj)
           
 K getKey()
           
 V getValue()
           
 int hashCode()
           
 V setValue(V value)
           
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapEntry

public MapEntry(K key,
                V value)
Method Detail

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.