ComparableMapKey2
- java.lang.Object
-
- com.dashoptimization.maps.MapKey2<K1,K2>
-
- com.dashoptimization.maps.ComparableMapKey2<K1,K2>
-
- All Implemented Interfaces:
-
java.lang.Comparable<ComparableMapKey2<K1,K2>>
- Direct Known Subclasses:
-
QPair
public class ComparableMapKey2<K1 extends java.lang.Comparable<? super K1>,K2 extends java.lang.Comparable<? super K2>> extends MapKey2<K1,K2> implements java.lang.Comparable<ComparableMapKey2<K1,K2>>
A key in a 2-dimensional tree map. Instances of this class represent a tuple with 2 elements, each of which is comparable. They can be used as key in instances ofTreeMap2
.- Since:
- 43.00
-
-
Constructor Summary
Constructor Description ComparableMapKey2(K1 key1, K2 key2)
Create a new 2-dimensional key from the given keys.
-
-
-
Method Detail
-
compareTo
public final int compareTo(ComparableMapKey2<K1,K2> other)
-
-
© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.