org.neodatis.btree.impl
Class KeyAndValue

java.lang.Object
  extended by 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)
           
 
Method Summary
 java.lang.Comparable getKey()
           
 java.lang.Object getValue()
           
 void setKey(java.lang.Comparable key)
           
 void setValue(java.lang.Object value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KeyAndValue

public KeyAndValue(java.lang.Comparable key,
                   java.lang.Object value)
Method Detail

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