DATATYPE - The type of elements to be compared.public class ComparatorHasIDInteger<DATATYPE extends IHasID<Integer>> extends ComparatorHasIDComparable<Integer,DATATYPE>
| Constructor and Description |
|---|
ComparatorHasIDInteger()
Comparator with default sort order and no nested comparator.
|
ComparatorHasIDInteger(Comparator<? super DATATYPE> aNestedComparator)
Comparator with default sort order and a nested comparator.
|
ComparatorHasIDInteger(ESortOrder eSortOrder)
Constructor with sort order.
|
ComparatorHasIDInteger(ESortOrder eSortOrder,
Comparator<? super DATATYPE> aNestedComparator)
Comparator with sort order and a nested comparator.
|
getPartmainComparecompare, getSortOrder, setSortOrderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic ComparatorHasIDInteger()
public ComparatorHasIDInteger(@Nonnull ESortOrder eSortOrder)
eSortOrder - The sort order to use. May not be null.public ComparatorHasIDInteger(@Nullable Comparator<? super DATATYPE> aNestedComparator)
aNestedComparator - The nested comparator to be invoked, when the main comparison
resulted in 0.public ComparatorHasIDInteger(@Nonnull ESortOrder eSortOrder, @Nullable Comparator<? super DATATYPE> aNestedComparator)
eSortOrder - The sort order to use. May not be null.aNestedComparator - The nested comparator to be invoked, when the main comparison
resulted in 0.Copyright © 2006–2015 phloc systems. All rights reserved.