Package org.fest.test
Class PersonCaseInsensitiveNameComparator
java.lang.Object
org.fest.test.PersonCaseInsensitiveNameComparator
- All Implemented Interfaces:
Comparator<Person>
A
Person
comparator comparing name case insensitively.- Author:
- Joel Costigliola
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
PersonCaseInsensitiveNameComparator
public PersonCaseInsensitiveNameComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<Person>
-