net.obsearch.storage
Class TupleFloat

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

public final class TupleFloat
extends 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 float, 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
TupleFloat(float key, byte[] value)
           
 
Method Summary
 float 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

TupleFloat

public TupleFloat(float key,
                  byte[] value)
Method Detail

getKey

public float getKey()
Returns:
The key.


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