public enum HjLogicalOperator extends Enum<HjLogicalOperator>
Modifier and Type | Method and Description |
---|---|
abstract boolean |
evaluate(boolean b1,
boolean b2) |
static HjLogicalOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HjLogicalOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HjLogicalOperator AND
public static final HjLogicalOperator OR
public static HjLogicalOperator[] values()
for (HjLogicalOperator c : HjLogicalOperator.values()) System.out.println(c);
public static HjLogicalOperator 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 abstract boolean evaluate(boolean b1, boolean b2)
Copyright © 2015 Rice University - Department of Computer Science. All rights reserved.