public class PersonCaseInsensitiveNameComparator extends Object implements Comparator<Person>
Person comparator comparing name case insensitively.| Constructor and Description |
|---|
PersonCaseInsensitiveNameComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Person p1,
Person p2) |
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(Person p1, Person p2)
compare in interface Comparator<Person>Copyright © 2008–2014. All rights reserved.