
O - Object typepublic class DoubleObjPair<O> extends Object implements PairInterface<Double,O>, Comparable<DoubleObjPair<O>>
| Modifier and Type | Field and Description | 
|---|---|
double | 
first
Double value 
 | 
O | 
second
Second object value 
 | 
| Constructor and Description | 
|---|
DoubleObjPair(double first,
             O second)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
compareTo(DoubleObjPair<O> o)  | 
boolean | 
equals(Object obj)  | 
Double | 
getFirst()
Deprecated. 
 
use pair.first to avoid boxing! 
 | 
O | 
getSecond()
Get the second object - note: this may cause autoboxing, use pair.second for native pairs! 
 | 
String | 
toString()
Canonical toString operator 
 | 
public double first
public O second
public DoubleObjPair(double first,
             O second)
first - First valuesecond - Second value@Deprecated public Double getFirst()
PairInterfacegetFirst in interface PairInterface<Double,O>public O getSecond()
PairInterfacegetSecond in interface PairInterface<Double,O>public int compareTo(DoubleObjPair<O> o)
compareTo in interface Comparable<DoubleObjPair<O>>