Modifier and Type | Class and Description |
---|---|
static class |
SearchCompiler.Always
Matches every OsmPrimitive.
|
static class |
SearchCompiler.And
Matches if both left and right expressions match.
|
private static class |
SearchCompiler.Any
Match a string in any tags (key or value), with optional regex and case insensitivity.
|
private static class |
SearchCompiler.AreaSize
Matches if the size of the area is within the given range
|
static class |
SearchCompiler.BinaryMatch
A binary search operator which may take data parameters.
|
private static class |
SearchCompiler.BooleanMatch
Matches if the value of the corresponding key is ''yes'', ''true'', ''1'' or ''on''.
|
private static class |
SearchCompiler.ChangesetId
Matches objects with a changeset ID in the given range.
|
static class |
SearchCompiler.Child
Matches objects if they are children of the expression
|
private static class |
SearchCompiler.Closed
Matches ways which are closed (i.e. first and last node are the same)
|
static class |
SearchCompiler.ExactKeyValue
Matches objects with the exact given key-value pair.
|
private static class |
SearchCompiler.ExactType |
private static class |
SearchCompiler.Id
Matches objects with ID in the given range.
|
private static class |
SearchCompiler.InArea
Matches objects within the given bounds.
|
private static class |
SearchCompiler.Incomplete
Match objects that are incomplete, where only id and type are known.
|
private static class |
SearchCompiler.InDataSourceArea
Matches objects within source area ("downloaded area").
|
private static class |
SearchCompiler.InView
Matches objects within current map view.
|
private static class |
SearchCompiler.KeyValue
Matches objects with the given key-value pair.
|
static class |
SearchCompiler.Match
Base class for all search operators.
|
private static class |
SearchCompiler.Modified
Matches all objects that have been modified, created, or undeleted
|
static class |
SearchCompiler.Never
Never matches any OsmPrimitive.
|
private static class |
SearchCompiler.New
Matches objects that are new (i.e. have not been uploaded to the server)
|
private static class |
SearchCompiler.NodeCountRange
Matches ways with a number of nodes in given range
|
static class |
SearchCompiler.Not
Inverts the match.
|
private static class |
SearchCompiler.Nth
Matches the n-th object of a relation and/or the n-th node of a way.
|
static class |
SearchCompiler.Or
Matches if the left OR the right expression match.
|
static class |
SearchCompiler.Parent
Matches objects if they are parents of the expression
|
private static class |
SearchCompiler.RangeMatch
Matches objects with properties in a certain range.
|
private static class |
SearchCompiler.RoleMatch
Matches objects with the given relation role (i.e.
|
private static class |
SearchCompiler.Selected
Matches all objects currently selected
|
private static class |
SearchCompiler.TagCountRange
Matches objects with a number of tags in given range
|
private static class |
SearchCompiler.TimestampRange
Matches objects with a timestamp in given range
|
static class |
SearchCompiler.UnaryMatch
A unary search operator which may take data parameters.
|
private static class |
SearchCompiler.Untagged
Matches objects that don't have any interesting tags (i.e. only has source,
FIXME, etc.).
|
private static class |
SearchCompiler.UserMatch
Matches objects last changed by the given username.
|
static class |
SearchCompiler.ValueComparison |
private static class |
SearchCompiler.Version
Matches objects with a version number in the given range.
|
static class |
SearchCompiler.Xor
Matches if the left OR the right expression match, but not both.
|
Modifier and Type | Method and Description |
---|---|
static int |
SearchAction.getSelection(SearchAction.SearchSetting s,
Collection<OsmPrimitive> sel,
Predicate<OsmPrimitive> p) |
Modifier and Type | Field and Description |
---|---|
static Predicate<OsmPrimitive> |
OsmPrimitive.allPredicate |
static Predicate<OsmPrimitive> |
OsmPrimitive.isSelectablePredicate |
static Predicate<OsmPrimitive> |
OsmPrimitive.isUsablePredicate
Some predicates, that describe conditions on primitives.
|
static Predicate<OsmPrimitive> |
OsmPrimitive.modifiedPredicate |
static Predicate<OsmPrimitive> |
OsmPrimitive.multipolygonPredicate |
static Predicate<OsmPrimitive> |
OsmPrimitive.nodePredicate |
static Predicate<OsmPrimitive> |
OsmPrimitive.nonDeletedCompletePredicate |
static Predicate<OsmPrimitive> |
OsmPrimitive.nonDeletedPhysicalPredicate |
static Predicate<OsmPrimitive> |
OsmPrimitive.nonDeletedPredicate |
static Predicate<OsmPrimitive> |
OsmPrimitive.relationPredicate |
static Predicate<OsmPrimitive> |
OsmPrimitive.wayPredicate |
Modifier and Type | Method and Description |
---|---|
private <T extends OsmPrimitive> |
DataSet.getPrimitives(Predicate<OsmPrimitive> predicate) |
Modifier and Type | Method and Description |
---|---|
List<OsmPrimitive> |
NavigatableComponent.getAllNearest(Point p,
Collection<OsmPrimitive> ignore,
Predicate<OsmPrimitive> predicate)
The *result* does not depend on the current map selection state,
neither does the result *order*.
|
List<OsmPrimitive> |
NavigatableComponent.getAllNearest(Point p,
Predicate<OsmPrimitive> predicate)
The *result* does not depend on the current map selection state,
neither does the result *order*.
|
Node |
NavigatableComponent.getNearestNode(Point p,
Predicate<OsmPrimitive> predicate)
Convenience method to
NavigatableComponent.getNearestNode(Point, Predicate, boolean) . |
Node |
NavigatableComponent.getNearestNode(Point p,
Predicate<OsmPrimitive> predicate,
boolean use_selected)
The *result* depends on the current map selection state IF use_selected is true.
|
Node |
NavigatableComponent.getNearestNode(Point p,
Predicate<OsmPrimitive> predicate,
boolean useSelected,
Collection<OsmPrimitive> preferredRefs)
The *result* depends on the current map selection state IF use_selected is true
If more than one node within node.snap-distance pixels is found,
the nearest node selected is returned IF use_selected is true.
|
OsmPrimitive |
NavigatableComponent.getNearestNodeOrWay(Point p,
Predicate<OsmPrimitive> predicate,
boolean use_selected)
The *result* depends on the current map selection state IF use_selected is true.
|
List<Node> |
NavigatableComponent.getNearestNodes(Point p,
Collection<Node> ignore,
Predicate<OsmPrimitive> predicate)
The *result* does not depend on the current map selection state,
neither does the result *order*.
|
List<Node> |
NavigatableComponent.getNearestNodes(Point p,
Predicate<OsmPrimitive> predicate)
The *result* does not depend on the current map selection state,
neither does the result *order*.
|
private Map<Double,List<Node>> |
NavigatableComponent.getNearestNodesImpl(Point p,
Predicate<OsmPrimitive> predicate)
The *result* does not depend on the current map selection state,
neither does the result *order*.
|
List<OsmPrimitive> |
NavigatableComponent.getNearestNodesOrWays(Point p,
Collection<OsmPrimitive> ignore,
Predicate<OsmPrimitive> predicate)
The *result* does not depend on the current map selection state,
neither does the result *order*.
|
List<OsmPrimitive> |
NavigatableComponent.getNearestNodesOrWays(Point p,
Predicate<OsmPrimitive> predicate)
The *result* does not depend on the current map selection state,
neither does the result *order*.
|
Way |
NavigatableComponent.getNearestWay(Point p,
Predicate<OsmPrimitive> predicate)
The *result* depends on the current map selection state.
|
List<Way> |
NavigatableComponent.getNearestWays(Point p,
Collection<Way> ignore,
Predicate<OsmPrimitive> predicate)
The *result* does not depend on the current map selection state,
neither does the result *order*.
|
List<Way> |
NavigatableComponent.getNearestWays(Point p,
Predicate<OsmPrimitive> predicate)
The *result* does not depend on the current map selection state,
neither does the result *order*.
|
WaySegment |
NavigatableComponent.getNearestWaySegment(Point p,
Predicate<OsmPrimitive> predicate)
Convenience method to
NavigatableComponent.getNearestWaySegment(Point, Predicate, boolean) . |
WaySegment |
NavigatableComponent.getNearestWaySegment(Point p,
Predicate<OsmPrimitive> predicate,
boolean use_selected)
The *result* depends on the current map selection state IF use_selected is true.
|
WaySegment |
NavigatableComponent.getNearestWaySegment(Point p,
Predicate<OsmPrimitive> predicate,
boolean use_selected,
Collection<OsmPrimitive> preferredRefs)
The *result* depends on the current map selection state IF use_selected is true.
|
List<WaySegment> |
NavigatableComponent.getNearestWaySegments(Point p,
Collection<WaySegment> ignore,
Predicate<OsmPrimitive> predicate)
The result *order* depends on the current map selection state.
|
List<WaySegment> |
NavigatableComponent.getNearestWaySegments(Point p,
Predicate<OsmPrimitive> predicate)
The result *order* depends on the current map selection state.
|
private Map<Double,List<WaySegment>> |
NavigatableComponent.getNearestWaySegmentsImpl(Point p,
Predicate<OsmPrimitive> predicate)
The *result* does not depend on the current map selection state,
neither does the result *order*.
|
Modifier and Type | Field and Description |
---|---|
private Predicate<PrimitiveId> |
HistoryBrowserDialogManager.notNewPredicate |
private Predicate<PrimitiveId> |
HistoryBrowserDialogManager.unloadedHistoryPredicate |
Modifier and Type | Field and Description |
---|---|
private Predicate<? super S> |
SubclassFilteredCollection.predicate |
Modifier and Type | Method and Description |
---|---|
static <T> boolean |
Utils.exists(Iterable<? extends T> collection,
Predicate<? super T> predicate) |
static <T> Collection<T> |
Utils.filter(Collection<? extends T> collection,
Predicate<? super T> predicate) |
static <T> T |
Utils.find(Iterable<? extends T> collection,
Predicate<? super T> predicate) |
static <T> int |
Utils.indexOf(Iterable<? extends T> collection,
Predicate<? super T> predicate) |
Constructor and Description |
---|
FilteredCollection(Collection<? extends T> collection,
Predicate<? super T> predicate) |
SubclassFilteredCollection(Collection<? extends S> collection,
Predicate<? super S> predicate) |
Modifier and Type | Class and Description |
---|---|
private class |
ContextSwitchTemplate.AndSet |
private class |
ContextSwitchTemplate.ChildSet |
private class |
ContextSwitchTemplate.ContextProvider |
private class |
ContextSwitchTemplate.OrSet |
private class |
ContextSwitchTemplate.ParentSet |