org.shiftone.exq.impl.util
Class MapEntry

java.lang.Object
  extended byorg.shiftone.exq.impl.util.MapEntry
All Implemented Interfaces:
java.util.Map.Entry

public class MapEntry
extends java.lang.Object
implements java.util.Map.Entry

Class MapEntry

Author:
Jeff Drost

Constructor Summary
MapEntry(java.lang.Object key, java.lang.Object value)
          Constructor MapEntry
 
Method Summary
 boolean equals(java.lang.Object o)
          Compares the specified object with this entry for equality.
 java.lang.Object getKey()
          Returns the key corresponding to this entry.
 java.lang.Object getValue()
          Returns the value corresponding to this entry.
 int hashCode()
          Returns the hash code value for this map entry.
 java.lang.Object setValue(java.lang.Object value)
          Method setValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapEntry

public MapEntry(java.lang.Object key,
                java.lang.Object value)
Constructor MapEntry

Parameters:
key -
value -
Method Detail

equals

public boolean equals(java.lang.Object o)
Compares the specified object with this entry for equality.

Specified by:
equals in interface java.util.Map.Entry
Parameters:
o -

getKey

public java.lang.Object getKey()
Returns the key corresponding to this entry.

Specified by:
getKey in interface java.util.Map.Entry

getValue

public java.lang.Object getValue()
Returns the value corresponding to this entry.

Specified by:
getValue in interface java.util.Map.Entry

hashCode

public int hashCode()
Returns the hash code value for this map entry.

Specified by:
hashCode in interface java.util.Map.Entry

setValue

public java.lang.Object setValue(java.lang.Object value)
Method setValue

Specified by:
setValue in interface java.util.Map.Entry
Parameters:
value -