|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.apidb.v0_6.impl.EntityHistoryComparator<T>
T
- The type of entity being sorted.public class EntityHistoryComparator<T extends Entity>
A comparator for sorting entity history objects by entity id then entity version.
Constructor Summary | |
---|---|
EntityHistoryComparator()
|
Method Summary | |
---|---|
int |
compare(EntityHistory<T> o1,
EntityHistory<T> o2)
|
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 |
---|
public EntityHistoryComparator()
Method Detail |
---|
public int compare(EntityHistory<T> o1, EntityHistory<T> o2)
compare
in interface java.util.Comparator<EntityHistory<T extends Entity>>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |