Rice Pastry API

rice.p2p.past.gc
Class GCIdFactory.GCMapEntry

java.lang.Object
  extended by rice.p2p.past.gc.GCIdFactory.GCMapEntry
All Implemented Interfaces:
java.util.Map.Entry
Enclosing class:
GCIdFactory

protected class GCIdFactory.GCMapEntry
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
GCIdFactory.GCMapEntry(java.util.Map.Entry entry)
          Constructor for GCMapEntry.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compares this to the parameter.
 java.lang.Object getKey()
          Gets the Key attribute of the GCMapEntry object
 java.lang.Object getValue()
          Gets the Value attribute of the GCMapEntry object
 int hashCode()
          Computes a hash value for this object.
 java.lang.Object setValue(java.lang.Object value)
          Sets the Value attribute of the GCMapEntry 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

GCIdFactory.GCMapEntry

public GCIdFactory.GCMapEntry(java.util.Map.Entry entry)
Constructor for GCMapEntry.

Parameters:
entry - DESCRIBE THE PARAMETER
Method Detail

getKey

public java.lang.Object getKey()
Gets the Key attribute of the GCMapEntry 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 GCMapEntry 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 GCMapEntry 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.