org.squashtest.tm.domain
Class IdentifiedComparator
java.lang.Object
org.squashtest.tm.domain.IdentifiedComparator
- All Implemented Interfaces:
- Comparator<Identified>
public class IdentifiedComparator
- extends Object
- implements Comparator<Identified>
compares Identified objects using their id.
- Author:
- Gregory Fouquet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdentifiedComparator
public IdentifiedComparator()
getInstance
public static IdentifiedComparator getInstance()
compare
public int compare(Identified o1,
Identified o2)
- Specified by:
compare in interface Comparator<Identified>
- See Also:
Comparator.compare(java.lang.Object, java.lang.Object)
Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.