de.uniba.wiai.lspi.chord.com
Class Entry
java.lang.Object
de.uniba.wiai.lspi.chord.com.Entry
- All Implemented Interfaces:
- java.io.Serializable
public final class Entry
- extends java.lang.Object
- implements java.io.Serializable
- Version:
- 1.0.5
- Author:
- karsten
- See Also:
- Serialized Form
Constructor Summary |
Entry(ID id1,
java.io.Serializable value1)
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Entry
public Entry(ID id1,
java.io.Serializable value1)
- Parameters:
id1
- value1
-
getId
public ID getId()
- Returns:
- Returns the id.
getValue
public java.io.Serializable getValue()
- Returns:
- Returns the value.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object