org.easymock
public class LogicalOperator extends Enum<LogicalOperator>
| Field Summary | |
|---|---|
| static LogicalOperator | EQUAL |
| static LogicalOperator | GREATER |
| static LogicalOperator | GREATER_OR_EQUAL |
| static LogicalOperator | LESS_OR_EQUAL |
| static LogicalOperator | LESS_THAN |
| static List<LogicalOperator> | VALUES An immutable list containing the values comprising this enum class in the order they're declared. |
| Method Summary | |
|---|---|
| List<LogicalOperator> | family() Returns an immutable list containing the values comprising this enum class in the order they're declared. |
| String | getSymbol() |
| boolean | matchResult(int result) |
| boolean | matchResult(int result) |
| boolean | matchResult(int result) |
| boolean | matchResult(int result) |
| boolean | matchResult(int result) |
| abstract boolean | matchResult(int result) |
| static LogicalOperator | valueOf(String name) Static factory to return the enum constant pertaining to the given string name. |
for(LogicalOperator c : LogicalOperator.VALUES)
System.out.println(c);VALUES. Few programmers should have any need to use this method. It is provided for use by sophisticated enum-based data structures to prevent the need for reflective access to VALUES.Returns: an immutable list containing the values comprising this enum class, in the order they're declared.
Throws: IllegalArgumentException if this enum class has no constant with the specified name.