org.neodatis.btree.impl
Class KeyAndValue
java.lang.Object
org.neodatis.btree.impl.KeyAndValue
- All Implemented Interfaces:
- java.io.Serializable, IKeyAndValue
public class KeyAndValue
- extends java.lang.Object
- implements java.io.Serializable, IKeyAndValue
- See Also:
- Serialized Form
Constructor Summary |
KeyAndValue(java.lang.Comparable key,
java.lang.Object value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
KeyAndValue
public KeyAndValue(java.lang.Comparable key,
java.lang.Object value)
toString
public java.lang.String toString()
- Specified by:
toString
in interface IKeyAndValue
- Overrides:
toString
in class java.lang.Object
getKey
public java.lang.Comparable getKey()
- Specified by:
getKey
in interface IKeyAndValue
setKey
public void setKey(java.lang.Comparable key)
- Specified by:
setKey
in interface IKeyAndValue
getValue
public java.lang.Object getValue()
- Specified by:
getValue
in interface IKeyAndValue
setValue
public void setValue(java.lang.Object value)
- Specified by:
setValue
in interface IKeyAndValue