public abstract class Pattern.Proxy extends Pattern.Unary<A,A>
Pattern.Atomic<A>, Pattern.Binary<A,B,C>, Pattern.Contravariant<A>, Pattern.Proxy, Pattern.Transform<A,B>, Pattern.Unary<A,B>, Pattern.Variable<A>
body
Modifier | Constructor and Description |
---|---|
protected |
Proxy() |
Modifier and Type | Method and Description |
---|---|
boolean |
match(A x)
Attempt to match this pattern against a given object.
|
boolean |
matchAgain()
Attempt to re-match this pattern against a previously matched
object.
|
bindsVariable, clear, cut, disturbsVariable, isDeterministic, savesVariable
narrow
public boolean match(A x)
Pattern
public boolean matchAgain()
Pattern
Patterns classes that do not overwrite this method guarantee
matchAgain
in class Pattern<A>
see also the complete user documentation .