ValueType - The general value stored in the pair.DiscriminantType - The discriminant comparable object used for ordering objects.public interface ValueDiscriminantPair<ValueType,DiscriminantType extends java.lang.Comparable<? super DiscriminantType>> extends Pair<ValueType,DiscriminantType>
| Modifier and Type | Method and Description |
|---|---|
DiscriminantType |
getDiscriminant()
Gets the discriminant for ordering instances of the same value.
|
ValueType |
getValue()
Gets the value in the pair.
|
ValueType getValue()
DiscriminantType getDiscriminant()