|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openstreetmap.osmosis.core.sort.v0_6.EntityByTypeThenIdThenVersionComparator
public class EntityByTypeThenIdThenVersionComparator
Orders entities first by their type (bound, node, way and relation), then their identifer, then their version.
| Constructor Summary | |
|---|---|
EntityByTypeThenIdThenVersionComparator()
Creates a new instance. |
|
| 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 EntityByTypeThenIdThenVersionComparator()
| 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 | ||||||||