org.fest.test
Class PersonCaseInsensitiveNameComparator

java.lang.Object
  extended by 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

Constructor Summary
PersonCaseInsensitiveNameComparator()
           
 
Method Summary
 int compare(Person p1, Person p2)
           
 
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
 

Constructor Detail

PersonCaseInsensitiveNameComparator

public PersonCaseInsensitiveNameComparator()
Method Detail

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.