DATA1TYPE - pair first typeDATA2TYPE - pair second typepublic class ComparatorPairSecond<DATA1TYPE,DATA2TYPE extends Comparable<? super DATA2TYPE>> extends AbstractPartComparatorComparable<IReadonlyPair<DATA1TYPE,DATA2TYPE>,DATA2TYPE>
IReadonlyPair objects by the second element| Constructor and Description |
|---|
ComparatorPairSecond() |
ComparatorPairSecond(ESortOrder eSortOrder) |
| Modifier and Type | Method and Description |
|---|---|
protected DATA2TYPE |
getPart(IReadonlyPair<DATA1TYPE,DATA2TYPE> aObject) |
mainComparecompare, getSortOrder, setSortOrderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic ComparatorPairSecond()
public ComparatorPairSecond(@Nonnull ESortOrder eSortOrder)
@Nullable protected DATA2TYPE getPart(@Nonnull IReadonlyPair<DATA1TYPE,DATA2TYPE> aObject)
getPart in class AbstractPartComparatorComparable<IReadonlyPair<DATA1TYPE,DATA2TYPE extends Comparable<? super DATA2TYPE>>,DATA2TYPE extends Comparable<? super DATA2TYPE>>Copyright © 2006–2015 phloc systems. All rights reserved.