org.ojalgo.type.keyvalue
Class IntKey<V>
java.lang.Object
org.ojalgo.type.keyvalue.IntKey<V>
- All Implemented Interfaces:
- Serializable, Cloneable, Comparable<IntKey<V>>
public final class IntKey<V>
- extends Object
- implements Comparable<IntKey<V>>, Serializable, Cloneable
- See Also:
- Serialized Form
key
public final int key
value
public final V value
IntKey
public IntKey(int aKey,
V aValue)
IntKey
public IntKey(Integer aKey,
V aValue)
compareTo
public final int compareTo(IntKey<V> aReference)
- Specified by:
compareTo
in interface Comparable<IntKey<V>>
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