public class IdAndNameNameComperator<T extends Comparable<T>> extends Object implements Comparator<IdAndNameBean<T>>
| Constructor and Description |
|---|
IdAndNameNameComperator()
default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(IdAndNameBean<T> pfirst,
IdAndNameBean<T> psecond) |
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 int compare(IdAndNameBean<T> pfirst, IdAndNameBean<T> psecond)
compare in interface Comparator<IdAndNameBean<T extends Comparable<T>>>Copyright © 2015–2017. All rights reserved.