org.ojalgo.type.keyvalue
Class StringKey<V>
java.lang.Object
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
key
public final String key
value
public final V value
StringKey
public StringKey(String aKey,
V aValue)
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