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