jdbm.helper
Class Tuple

java.lang.Object
  extended by jdbm.helper.Tuple

public final class Tuple
extends java.lang.Object

Tuple consisting of a key-value pair.

Version:
$Id: Tuple.java,v 1.2 2001/05/19 14:02:00 boisvert Exp $
Author:
Alex Boisvert

Constructor Summary
Tuple()
          Construct an empty Tuple.
Tuple(java.lang.Object key, java.lang.Object value)
          Construct a Tuple.
 
Method Summary
 java.lang.Object getKey()
          Get the key.
 java.lang.Object getValue()
          Get the value.
 void setKey(java.lang.Object key)
          Set the key.
 void setValue(java.lang.Object value)
          Set the value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tuple

public Tuple()
Construct an empty Tuple.


Tuple

public Tuple(java.lang.Object key,
             java.lang.Object value)
Construct a Tuple.

Parameters:
key - The key.
value - The value.
Method Detail

getKey

public java.lang.Object getKey()
Get the key.


setKey

public void setKey(java.lang.Object key)
Set the key.


getValue

public java.lang.Object getValue()
Get the value.


setValue

public void setValue(java.lang.Object value)
Set the value.



Cees de Groot (C) 2000. All rights reserved http://jdbm.sourceforge.net