public abstract static class Pattern.Unary<A,B> extends Pattern.Contravariant<B>
Pattern.Atomic<A>, Pattern.Binary<A,B,C>, Pattern.Contravariant<A>, Pattern.Proxy, Pattern.Transform<A,B>, Pattern.Unary<A,B>, Pattern.Variable<A>
Modifier | Constructor and Description |
---|---|
protected |
Unary(Pattern<? super A> body) |
Modifier and Type | Method and Description |
---|---|
boolean |
bindsVariable(Pattern.Variable v) |
void |
clear(boolean recursively) |
void |
cut(boolean recursively) |
boolean |
disturbsVariable(Pattern.Variable v) |
boolean |
isDeterministic() |
boolean |
savesVariable(Pattern.Variable v) |
narrow
public boolean bindsVariable(Pattern.Variable v)
bindsVariable
in class Pattern<B>
public boolean disturbsVariable(Pattern.Variable v)
disturbsVariable
in class Pattern<B>
public boolean savesVariable(Pattern.Variable v)
savesVariable
in class Pattern<B>
public boolean isDeterministic()
isDeterministic
in class Pattern<B>
see also the complete user documentation .