public static class Selector.GeneralSelector extends Selector.OptimizedGeneralSelector
Selector.AbstractSelector, Selector.ChildOrParentSelector, Selector.ChildOrParentSelectorType, Selector.GeneralSelector, Selector.LinkSelector, Selector.OptimizedGeneralSelectorbase, R, range, subpartconds| Constructor and Description |
|---|
GeneralSelector(java.lang.String base,
Pair<java.lang.Integer,java.lang.Integer> zoom,
java.util.List<Condition> conds,
Subpart subpart) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(Environment e)
Determines if all conditions match the given environment.
|
boolean |
matchesConditions(Environment e) |
Selector |
optimizedBaseCheck()
Create an "optimized" copy of this selector that omits the base check.
|
fromLevel, getBase, getRange, getSubpart, level2scale, matchesBase, matchesBase, matchesBase, scale2level, toStringgetConditionspublic GeneralSelector(java.lang.String base, Pair<java.lang.Integer,java.lang.Integer> zoom, java.util.List<Condition> conds, Subpart subpart)
public boolean matchesConditions(Environment e)
public Selector optimizedBaseCheck()
SelectoroptimizedBaseCheck in interface SelectoroptimizedBaseCheck in class Selector.OptimizedGeneralSelectorpublic boolean matches(Environment e)
Selector.AbstractSelectormatches in interface Selectormatches in class Selector.AbstractSelectore - The environment to checktrue if all conditions apply, false otherwise.