O
- Object typepublic class DoubleObjPair<O> extends java.lang.Object implements java.lang.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(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString()
Canonical toString operator
|
public double first
public O second
public DoubleObjPair(double first, O second)
first
- First valuesecond
- Second valuepublic int compareTo(DoubleObjPair<O> o)
compareTo
in interface java.lang.Comparable<DoubleObjPair<O>>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2019 ELKI Development Team. License information.