public class IdentifiersOrderComparator extends Object implements Comparator<Identified>
Identified objects. It uses an ordered collection (ie a list) of ids. The order of 2
Identified objects is the order of their ids in this list.| Constructor and Description |
|---|
IdentifiersOrderComparator(List<Long> orderedIds) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Identified o1,
Identified o2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic int compare(Identified o1, Identified o2)
compare in interface Comparator<Identified>Comparator.compare(java.lang.Object, java.lang.Object)Copyright © 2010–2016 Henix, henix.fr. All rights reserved.