Class SearchCompiler.UnaryMatch
- java.lang.Object
-
- org.openstreetmap.josm.data.osm.search.SearchCompiler.Match
-
- org.openstreetmap.josm.data.osm.search.SearchCompiler.UnaryMatch
-
- All Implemented Interfaces:
java.util.function.Predicate<OsmPrimitive>
- Direct Known Subclasses:
SearchCompiler.Child,SearchCompiler.Not,SearchCompiler.Parent
- Enclosing class:
- SearchCompiler
public abstract static class SearchCompiler.UnaryMatch extends SearchCompiler.Match
A unary search operator which may take data parameters.
-
-
Field Summary
Fields Modifier and Type Field Description protected SearchCompiler.Matchmatch
-
Constructor Summary
Constructors Modifier Constructor Description protectedUnaryMatch(SearchCompiler.Match match)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)SearchCompiler.MatchgetOperand()inthashCode()-
Methods inherited from class org.openstreetmap.josm.data.osm.search.SearchCompiler.Match
match, match, test, validate
-
-
-
-
Field Detail
-
match
@Nonnull protected final SearchCompiler.Match match
-
-
Constructor Detail
-
UnaryMatch
protected UnaryMatch(@Nullable SearchCompiler.Match match)
-
-
Method Detail
-
getOperand
public SearchCompiler.Match getOperand()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-