org.ojalgo.type.keyvalue
Class LongKey<V>

java.lang.Object
  extended by 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

Field Summary
 long key
           
 V value
           
 
Constructor Summary
LongKey(long aKey, V aValue)
           
LongKey(Long aKey, V aValue)
           
 
Method Summary
 int compareTo(LongKey<V> 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 long key

value

public final V value
Constructor Detail

LongKey

public LongKey(long aKey,
               V aValue)

LongKey

public LongKey(Long aKey,
               V aValue)
Method Detail

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