Class AutoFilterManager.CompiledFilter
- java.lang.Object
-
- org.openstreetmap.josm.data.osm.search.SearchSetting
-
- org.openstreetmap.josm.data.osm.Filter
-
- org.openstreetmap.josm.gui.autofilter.AutoFilterManager.CompiledFilter
-
- All Implemented Interfaces:
java.lang.Comparable<Filter>
,java.util.function.Supplier<SearchCompiler.Match>
,SearchCompiler.MatchSupplier
- Enclosing class:
- AutoFilterManager
static class AutoFilterManager.CompiledFilter extends Filter implements SearchCompiler.MatchSupplier
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstreetmap.josm.data.osm.Filter
Filter.FilterPreferenceEntry
-
-
Field Summary
Fields Modifier and Type Field Description (package private) AutoFilterRule
rule
(package private) int
value
-
Fields inherited from class org.openstreetmap.josm.data.osm.search.SearchSetting
allElements, caseSensitive, mapCSSSearch, mode, regexSearch, text
-
-
Constructor Summary
Constructors Constructor Description CompiledFilter(AutoFilterRule rule, int value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
SearchCompiler.Match
get()
int
hashCode()
-
Methods inherited from class org.openstreetmap.josm.data.osm.Filter
compareTo, getPreferenceEntry
-
Methods inherited from class org.openstreetmap.josm.data.osm.search.SearchSetting
fromString, readFromString, toString, toStringEx, writeToString
-
-
-
-
Field Detail
-
rule
final AutoFilterRule rule
-
value
final int value
-
-
Constructor Detail
-
CompiledFilter
CompiledFilter(AutoFilterRule rule, int value)
-
-
Method Detail
-
get
public SearchCompiler.Match get()
- Specified by:
get
in interfaceSearchCompiler.MatchSupplier
- Specified by:
get
in interfacejava.util.function.Supplier<SearchCompiler.Match>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classSearchSetting
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classSearchSetting
-
-