public class MergeIterator extends AbstractMergeimplements OsmIterator
AbstractMerge.Input <T extends OsmEntity> bounds, hasBounds, inputs, nodeItems, relationItems, wayItems| Constructor and Description |
|---|
MergeIterator(Collection
Merge the elements from a collection of OSM input sources to a single OSM input source.
|
MergeIterator(Collection
Merge the elements from a collection of OSM input sources to a single OSM input source.
|
MergeIterator(Collection
Merge the elements from a collection of OSM input sources to a single OSM input source.
|
| Modifier and Type | Method and Description |
|---|---|
OsmBounds |
getBounds()
|
boolean |
hasBounds()
|
boolean |
hasNext()
|
Iterator |
iterator()
|
EntityContainer |
next()
|
void |
remove()
|
advanceNodeItem, advanceRelationItem, advanceWayItem, createItem, initBoundsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorforEachRemainingpublic MergeIterator(Collection<OsmIterator > inputs) throws IOException
inputs - a collection of iterators to retrieve data from.
IOException
public MergeIterator(Collection<OsmIterator > inputs, Comparator <OsmEntity > comparator) throws IOException
inputs - a collection of iterators to retrieve data from.
comparator - a Comparator used to compare elements of the same type.
IOException
public MergeIterator(Collection<OsmIterator > inputs, Comparator <? super OsmNode > comparatorNodes, Comparator <? super OsmWay > comparatorWays, Comparator <? super OsmRelation > comparatorRelations) throws IOException
inputs - a collection of iterators to retrieve data from.
comparatorNodes - a Comparator used to compare nodes.
comparatorWays - a Comparator used to compare ways.
comparatorRelations - a Comparator used to compare relations.
IOException
public Iterator<EntityContainer > iterator()
public void remove()
public boolean hasBounds()
public OsmBoundsgetBounds()
public boolean hasNext()
public EntityContainernext()