org.ojalgo.type.keyvalue
Class MethodToAtomicLong
java.lang.Object
org.ojalgo.type.keyvalue.MethodToAtomicLong
- All Implemented Interfaces:
- Comparable<KeyValue<Method,?>>, KeyValue<Method,AtomicLong>
public final class MethodToAtomicLong
- extends Object
- implements KeyValue<Method,AtomicLong>
key
public final Method key
value
public final AtomicLong value
MethodToAtomicLong
public MethodToAtomicLong(Method aKey)
MethodToAtomicLong
public MethodToAtomicLong(Method aKey,
AtomicLong aValue)
compareTo
public int compareTo(KeyValue<Method,?> aReference)
- Specified by:
compareTo in interface Comparable<KeyValue<Method,?>>
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
getKey
public Method getKey()
- Specified by:
getKey in interface KeyValue<Method,AtomicLong>
getValue
public AtomicLong getValue()
- Specified by:
getValue in interface KeyValue<Method,AtomicLong>
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object