org.ojalgo.type.keyvalue
Class IntDouble

java.lang.Object
  extended by org.ojalgo.type.keyvalue.IntDouble
All Implemented Interfaces:
Serializable, Cloneable, Comparable<IntDouble>

public final class IntDouble
extends Object
implements Comparable<IntDouble>, Serializable, Cloneable

See Also:
Serialized Form

Field Summary
 int key
           
 double value
           
 
Constructor Summary
IntDouble(int aKey, double aValue)
           
IntDouble(int aKey, Double aValue)
           
IntDouble(Integer aKey, double aValue)
           
IntDouble(Integer aKey, Double aValue)
           
 
Method Summary
 int compareTo(IntDouble aReference)
           
 boolean equals(Object obj)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

key

public final int key

value

public final double value
Constructor Detail

IntDouble

public IntDouble(int aKey,
                 double aValue)

IntDouble

public IntDouble(int aKey,
                 Double aValue)

IntDouble

public IntDouble(Integer aKey,
                 double aValue)

IntDouble

public IntDouble(Integer aKey,
                 Double aValue)
Method Detail

compareTo

public final int compareTo(IntDouble aReference)
Specified by:
compareTo in interface Comparable<IntDouble>

equals

public final boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public final int hashCode()
Overrides:
hashCode in class Object

toString

public final String toString()
Overrides:
toString in class Object