|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.core.partition.impl.btree.Tuple
public class Tuple
A key/value tuple for simple two column Tables. Implemented to provide independence from the Jdbm Tuple class. Key and value copying should be performed to transpose jdbm.helper.Tuple data into our generic Tuple.
Constructor Summary | |
---|---|
Tuple()
Do nothing default that has a null key and null value. |
|
Tuple(java.lang.Object key,
java.lang.Object value)
Creates a Tuple using a key and a value. |
Method Summary | |
---|---|
java.lang.Object |
getKey()
Gets the key for this Tuple. |
java.lang.Object |
getValue()
Gets the value for this Tuple. |
void |
setKey(java.lang.Object key)
Sets the key for this Tuple. |
void |
setValue(java.lang.Object value)
Sets the value for this Tuple. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Tuple()
public Tuple(java.lang.Object key, java.lang.Object value)
key
- the key to setvalue
- the value to setMethod Detail |
---|
public java.lang.Object getKey()
public void setKey(java.lang.Object key)
key
- the new key to setpublic java.lang.Object getValue()
public void setValue(java.lang.Object value)
value
- the new value to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |