public final class ComparableToDouble<K extends Comparable<? super K>> extends Object implements KeyValue<K,Double>
Constructor and Description |
---|
ComparableToDouble(K aKey,
double aValue) |
public final K extends Comparable<? super K> key
public final double value
public ComparableToDouble(K aKey, double aValue)
public int compareTo(KeyValue<K,?> ref)
compareTo
in interface Comparable<KeyValue<K extends Comparable<? super K>,?>>
public K getKey()
public Double getValue()
Copyright © 2019 Optimatika. All rights reserved.