net.obsearch.storage
Class TupleDouble

java.lang.Object
  extended by net.obsearch.storage.Tuple
      extended by net.obsearch.storage.TupleDouble

public final class TupleDouble
extends net.obsearch.storage.Tuple

A tuple returned by a range operation of an OBStore implementation. This object holds the key and the value of objects found within a range search. The key is a double, and the value is always an array of bytes.

Author:
Arnoldo Jose Muller Molina

Field Summary
 
Fields inherited from class net.obsearch.storage.Tuple
value
 
Constructor Summary
TupleDouble(double key, byte[] value)
           
 
Method Summary
 double getKey()
           
 
Methods inherited from class net.obsearch.storage.Tuple
getValue, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TupleDouble

public TupleDouble(double key,
                   byte[] value)
Method Detail

getKey

public double getKey()
Returns:
The key.


Copyright © 2007-2011 Arnoldo Jose Muller Molina. All Rights Reserved.