Mobios v0.91

mobios.type
Class DoubleIndexObjectPair

java.lang.Object
  extended by mobios.type.DoubleIndexObjectPair

public class DoubleIndexObjectPair
extends Object

Wraps a double and an IndexObject. It also contains two Comparators to compare the double or the IndexObject.

Version:
2006.07.31
Author:
Rui Mao, Willard

Field Summary
static Comparator<DoubleIndexObjectPair> DoubleComparator
           
static Comparator<DoubleIndexObjectPair> ObjectComparator
           
 
Constructor Summary
DoubleIndexObjectPair()
           
DoubleIndexObjectPair(double _double, IndexObject _iobject)
           
 
Method Summary
 double getDouble()
           
 IndexObject getObject()
           
 void setDouble(double _double)
           
 void setObject(IndexObject _iobject)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DoubleComparator

public static final Comparator<DoubleIndexObjectPair> DoubleComparator

ObjectComparator

public static final Comparator<DoubleIndexObjectPair> ObjectComparator
Constructor Detail

DoubleIndexObjectPair

public DoubleIndexObjectPair(double _double,
                             IndexObject _iobject)
Parameters:
_double -
_iobject -

DoubleIndexObjectPair

public DoubleIndexObjectPair()
Method Detail

getDouble

public double getDouble()
Returns:

getObject

public IndexObject getObject()
Returns:

setDouble

public void setDouble(double _double)
Parameters:
_double -

setObject

public void setObject(IndexObject _iobject)
Parameters:
_iobject -

toString

public String toString()
Overrides:
toString in class Object

Mobios v0.91

(C) 2002 - 2006 The MoBIoS Group