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

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

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

See Also:
Serialized Form

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

value

public final V value
Constructor Detail

StringKey

public StringKey(String aKey,
                 V aValue)
Method Detail

compareTo

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

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

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