@Deprecated public class StringifierComparator<T> extends Object implements Comparator<T>
Modifier and Type | Field and Description |
---|---|
protected Comparator<? super T> |
comparator
Deprecated.
|
protected StringifierIF<T> |
stringifier
Deprecated.
|
Constructor and Description |
---|
StringifierComparator()
Deprecated.
|
StringifierComparator(StringifierIF<T> stringifier)
Deprecated.
|
StringifierComparator(StringifierIF<T> stringifier,
Comparator<? super T> comparator)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(T obj1,
T obj2)
Deprecated.
|
Comparator<? super T> |
getComparator()
Deprecated.
Gets the comparator which is to be used.
|
void |
setComparator(Comparator<? super T> comparator)
Deprecated.
Sets the comparator which is to be used.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
protected Comparator<? super T> comparator
protected StringifierIF<T> stringifier
public StringifierComparator()
public StringifierComparator(StringifierIF<T> stringifier)
public StringifierComparator(StringifierIF<T> stringifier, Comparator<? super T> comparator)
public Comparator<? super T> getComparator()
public void setComparator(Comparator<? super T> comparator)
public int compare(T obj1, T obj2)
compare
in interface Comparator<T>