|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.sort.v0_5.EntityByTypeThenIdComparator
public class EntityByTypeThenIdComparator
Compares two entities and sorts them first by their type (Nodes, then Segments, then Ways) and then by their identifier.
Constructor Summary | |
---|---|
EntityByTypeThenIdComparator()
|
Method Summary | |
---|---|
int |
compare(EntityContainer o1,
EntityContainer 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 EntityByTypeThenIdComparator()
Method Detail |
---|
public int compare(EntityContainer o1, EntityContainer o2)
compare
in interface java.util.Comparator<EntityContainer>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |