static class UploadSelectionAction.UploadHullBuilder extends java.lang.Object implements Visitor
Modifier and Type | Field and Description |
---|---|
private java.util.Set<OsmPrimitive> |
hull |
Constructor and Description |
---|
UploadHullBuilder() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<OsmPrimitive> |
build(java.util.Collection<OsmPrimitive> base)
Builds the "hull" of primitives to be uploaded given a base collection
of osm primitives.
|
void |
visit(Changeset cs)
Visiting call for changesets.
|
void |
visit(Node n)
Visiting call for points.
|
void |
visit(Relation r)
Visiting call for relations.
|
void |
visit(Way w)
Visiting call for lines.
|
private java.util.Set<OsmPrimitive> hull
UploadHullBuilder()
public void visit(Node n)
Visitor
public void visit(Relation r)
Visitor
public void visit(Changeset cs)
Visitor
public java.util.Set<OsmPrimitive> build(java.util.Collection<OsmPrimitive> base)
base
- the base collection. Must not be null.java.lang.IllegalArgumentException
- if base is null