public class TextPattern extends LeafPattern<String,Constraint<? super String>>
constraint| Constructor and Description |
|---|
TextPattern(Constraint<? super String> c)
Creates an instance with a given constraint.
|
| Modifier and Type | Method and Description |
|---|---|
String |
name()
Returns the name of the pattern.
|
protected String |
valueOf(String s)
Returns the typed equivalent of a leaf's value.
|
constraint, equals, hashCode, matches, prune, toStringidPattern, setIdPatternpublic TextPattern(Constraint<? super String> c)
c - the constraintprotected String valueOf(String s)
valueOf in class LeafPattern<String,Constraint<? super String>>s - the valuepublic String name()
LeafPatternname in class LeafPattern<String,Constraint<? super String>>Copyright © 2018. All Rights Reserved.