public enum UnaryLogicalOperator extends Enum<UnaryLogicalOperator>
| Enum Constant and Description |
|---|
_not |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(boolean value)
Applies the operator to a value
|
static UnaryLogicalOperator |
fromString(String s) |
String |
toString() |
static UnaryLogicalOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnaryLogicalOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnaryLogicalOperator _not
public static UnaryLogicalOperator[] values()
for (UnaryLogicalOperator c : UnaryLogicalOperator.values()) System.out.println(c);
public static UnaryLogicalOperator valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean apply(boolean value)
value - The value to which the operator is to be appliedpublic String toString()
toString in class Enum<UnaryLogicalOperator>public static UnaryLogicalOperator fromString(String s)
Copyright © 2015. All rights reserved.