public class KeyComparator extends Object implements Comparator<Comparable<?>>
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
KeyComparator.Infinity |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
compare(Comparable<?> key1,
Comparable<?> key2) |
static KeyComparator |
getInstance() |
static KeyComparator.Infinity |
getMinusInfinity(Class<?> clazz) |
static KeyComparator.Infinity |
getPlusInfinity(Class<?> clazz) |
boolean |
isOrdered(Comparable<?> a,
Comparable<?> b,
Comparable<?> c) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static KeyComparator getInstance()
public static KeyComparator.Infinity getPlusInfinity(Class<?> clazz)
public static KeyComparator.Infinity getMinusInfinity(Class<?> clazz)
public int compare(Comparable<?> key1, Comparable<?> key2)
compare インタフェース内 Comparator<Comparable<?>>public boolean isOrdered(Comparable<?> a, Comparable<?> b, Comparable<?> c)
Copyright © 2017. All rights reserved.