Package org.openstreetmap.josm.gui.layer
Class OsmDataLayer.DataCountVisitor
java.lang.Object
org.openstreetmap.josm.gui.layer.OsmDataLayer.DataCountVisitor
- All Implemented Interfaces:
OsmPrimitiveVisitor
- Enclosing class:
- OsmDataLayer
public static final class OsmDataLayer.DataCountVisitor
extends Object
implements OsmPrimitiveVisitor
A listener that counts the number of primitives it encounters
-
Field Summary
FieldsModifier and TypeFieldDescriptionintDeleted nodes that have been visitedintDeleted relations that have been visitedintDeleted ways that have been visitedintIncomplete nodes that have been visitedintIncomplete relations that have been visitedintIncomplete ways that have been visitedintNodes that have been visitedintRelations that have been visitedintWays that have been visited -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
nodes
Nodes that have been visited -
ways
Ways that have been visited -
relations
Relations that have been visited -
deletedNodes
Deleted nodes that have been visited -
deletedWays
Deleted ways that have been visited -
deletedRelations
Deleted relations that have been visited -
incompleteNodes
Incomplete nodes that have been visited -
incompleteWays
Incomplete ways that have been visited -
incompleteRelations
Incomplete relations that have been visited
-
-
Constructor Details
-
DataCountVisitor
public DataCountVisitor()
-
-
Method Details
-
visit
Description copied from interface:OsmPrimitiveVisitorVisiting call for points.- Specified by:
visitin interfaceOsmPrimitiveVisitor- Parameters:
n- The node to inspect.
-
visit
Description copied from interface:OsmPrimitiveVisitorVisiting call for lines.- Specified by:
visitin interfaceOsmPrimitiveVisitor- Parameters:
w- The way to inspect.
-
visit
Description copied from interface:OsmPrimitiveVisitorVisiting call for relations.- Specified by:
visitin interfaceOsmPrimitiveVisitor- Parameters:
r- The relation to inspect.
-