net.obsearch.storage
Class TupleInt

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

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

TupleInt

public TupleInt(int key,
                byte[] value)
Method Detail

getKey

public int getKey()
Returns:
The key.


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