public class UnaryMetadata extends PredicateMetadata
| Modifier and Type | Method and Description |
|---|---|
void |
accept(MetadataVisitor visitor,
int depth) |
java.util.List<Metadata> |
children()
Returns the direct children of this node in a flat list.
|
java.util.List<Element> |
flatten()
Returns the tree of elements under this node in a flat list.
|
Operator |
getOperator() |
Metadata |
message(Context context)
Be carrefull about the boolean satisfiability problem when we use the not operator
https://en.wikipedia.org/wiki/Boolean_satisfiability_problem
|
static UnaryMetadata |
notMetadata(Metadata value) |
java.lang.String |
readable(java.util.Locale locale)
Returns the human readable version of this object.
|
MetadataType |
type()
Returns the metadata type.
|
falseEvalCount, incFalseEval, incTrueEval, toString, trueEvalCountclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitmarkdown, markdown, readablepublic Operator getOperator()
public static UnaryMetadata notMetadata(Metadata value)
public java.lang.String readable(java.util.Locale locale)
SyntaxTreelocale - the locale to useSyntaxTree.readable()public void accept(MetadataVisitor visitor, int depth)
public java.util.List<Element> flatten()
Metadatapublic java.util.List<Metadata> children()
Metadatapublic MetadataType type()
Metadata