public class TransformingComparator<I,O> extends Object implements Comparator<I>, Serializable
| Constructor and Description |
|---|
TransformingComparator(Transformer<? super I,? extends O> transformer) |
TransformingComparator(Transformer<? super I,? extends O> transformer,
Comparator<O> decorated) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(I obj1,
I obj2) |
boolean |
equals(Object object) |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic TransformingComparator(Transformer<? super I,? extends O> transformer)
public TransformingComparator(Transformer<? super I,? extends O> transformer, Comparator<O> decorated)
Copyright © 2022. All rights reserved.