org.ojalgo.type.keyvalue
Class MethodToAtomicLong

java.lang.Object
  extended by org.ojalgo.type.keyvalue.MethodToAtomicLong
All Implemented Interfaces:
Comparable<KeyValue<Method,?>>, KeyValue<Method,AtomicLong>

public final class MethodToAtomicLong
extends Object
implements KeyValue<Method,AtomicLong>


Field Summary
 Method key
           
 AtomicLong value
           
 
Constructor Summary
MethodToAtomicLong(Method aKey)
           
MethodToAtomicLong(Method aKey, AtomicLong aValue)
           
 
Method Summary
 int compareTo(KeyValue<Method,?> aReference)
           
 boolean equals(Object obj)
           
 Method getKey()
           
 AtomicLong getValue()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

key

public final Method key

value

public final AtomicLong value
Constructor Detail

MethodToAtomicLong

public MethodToAtomicLong(Method aKey)

MethodToAtomicLong

public MethodToAtomicLong(Method aKey,
                          AtomicLong aValue)
Method Detail

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