mobios.type
Class DoubleIndexObjectPair
java.lang.Object
mobios.type.DoubleIndexObjectPair
public class DoubleIndexObjectPair
- extends Object
Wraps a double
and an IndexObject
.
It also contains two Comparator
s to compare the double or the IndexObject
.
- Version:
- 2006.07.31
- Author:
- Rui Mao, Willard
DoubleComparator
public static final Comparator<DoubleIndexObjectPair> DoubleComparator
ObjectComparator
public static final Comparator<DoubleIndexObjectPair> ObjectComparator
DoubleIndexObjectPair
public DoubleIndexObjectPair(double _double,
IndexObject _iobject)
- Parameters:
_double
- _iobject
-
DoubleIndexObjectPair
public DoubleIndexObjectPair()
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
(C) 2002 - 2006 The MoBIoS Group