org.fest.test
Class PersonCaseInsensitiveNameComparator
java.lang.Object
org.fest.test.PersonCaseInsensitiveNameComparator
- All Implemented Interfaces:
- Comparator<Person>
public class PersonCaseInsensitiveNameComparator
- extends Object
- implements Comparator<Person>
A Person comparator comparing name case insensitively.
- Author:
- Joel Costigliola
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersonCaseInsensitiveNameComparator
public PersonCaseInsensitiveNameComparator()
compare
public int compare(Person p1,
Person p2)
- Specified by:
compare in interface Comparator<Person>
Copyright © 2008-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.