Rice Pastry API

rice.p2p.multiring
Class MultiringIdFactory.MultiringMapEntry

java.lang.Object
  extended by rice.p2p.multiring.MultiringIdFactory.MultiringMapEntry
All Implemented Interfaces:
java.util.Map.Entry
Enclosing class:
MultiringIdFactory

protected class MultiringIdFactory.MultiringMapEntry
extends java.lang.Object
implements java.util.Map.Entry

DESCRIBE THE CLASS

Version:
$Id: pretty.settings 2305 2005-03-11 20:22:33Z jeffh $
Author:
jeffh

Field Summary
protected  java.util.Map.Entry entry
          DESCRIBE THE FIELD
 
Constructor Summary
MultiringIdFactory.MultiringMapEntry(java.util.Map.Entry entry)
          Constructor for MultiringMapEntry.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compares this to the parameter.
 java.lang.Object getKey()
          Gets the Key attribute of the MultiringMapEntry object
 java.lang.Object getValue()
          Gets the Value attribute of the MultiringMapEntry object
 int hashCode()
          Computes a hash value for this object.
 java.lang.Object setValue(java.lang.Object value)
          Sets the Value attribute of the MultiringMapEntry object
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entry

protected java.util.Map.Entry entry
DESCRIBE THE FIELD

Constructor Detail

MultiringIdFactory.MultiringMapEntry

public MultiringIdFactory.MultiringMapEntry(java.util.Map.Entry entry)
Constructor for MultiringMapEntry.

Parameters:
entry - DESCRIBE THE PARAMETER
Method Detail

getKey

public java.lang.Object getKey()
Gets the Key attribute of the MultiringMapEntry object

Specified by:
getKey in interface java.util.Map.Entry
Returns:
The Key value

getValue

public java.lang.Object getValue()
Gets the Value attribute of the MultiringMapEntry object

Specified by:
getValue in interface java.util.Map.Entry
Returns:
The Value value

setValue

public java.lang.Object setValue(java.lang.Object value)
Sets the Value attribute of the MultiringMapEntry object

Specified by:
setValue in interface java.util.Map.Entry
Parameters:
value - The new Value value
Returns:
DESCRIBE THE RETURN VALUE

equals

public boolean equals(java.lang.Object o)
Compares this to the parameter.

Specified by:
equals in interface java.util.Map.Entry
Overrides:
equals in class java.lang.Object
Parameters:
o - the reference object with which to compare.
Returns:
true if this object is the same as the obj argument; false otherwise.

hashCode

public int hashCode()
Computes a hash value for this object.

Specified by:
hashCode in interface java.util.Map.Entry
Overrides:
hashCode in class java.lang.Object
Returns:
The hash value for this object.

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.