パッケージ org.piax.util
クラス KeyComparator
java.lang.Object
org.piax.util.KeyComparator
- すべての実装されたインタフェース:
Comparator<Comparable<?>>
public class KeyComparator extends Object implements Comparator<Comparable<?>>
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ クラス 説明 static classKeyComparator.Infinity -
メソッドの概要
修飾子とタイプ メソッド 説明 intcompare(Comparable<?> key1, Comparable<?> key2)static KeyComparatorgetInstance()static KeyComparator.InfinitygetMinusInfinity()static KeyComparator.InfinitygetMinusInfinity(Class<?> clazz)static KeyComparator.InfinitygetPlusInfinity()static KeyComparator.InfinitygetPlusInfinity(Class<?> clazz)booleanisOrdered(Comparable<?> from, boolean fromInclusive, Comparable<?> val, Comparable<?> to, boolean toInclusive)booleanisOrdered(Comparable<?> a, Comparable<?> b, Comparable<?> c)クラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitインタフェースから継承されたメソッド java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
メソッドの詳細
-
getInstance
-
getPlusInfinity
-
getMinusInfinity
-
getPlusInfinity
-
getMinusInfinity
-
compare
- 定義:
compareインタフェース内Comparator<Comparable<?>>
-
isOrdered
public boolean isOrdered(Comparable<?> from, boolean fromInclusive, Comparable<?> val, Comparable<?> to, boolean toInclusive) -
isOrdered
-