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

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

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

value

public final V value
Constructor Detail

IntKey

public IntKey(int aKey,
              V aValue)

IntKey

public IntKey(Integer aKey,
              V aValue)
Method Detail

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