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