public enum ConnectiveType extends Enum<ConnectiveType>
Modifier and Type | Method and Description |
---|---|
String |
getConnective() |
int |
getPrecedence() |
String |
toString() |
static ConnectiveType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectiveType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectiveType AND
public static final ConnectiveType OR
public static final ConnectiveType XOR
public static final ConnectiveType INC_OR
public static final ConnectiveType INC_AND
public static ConnectiveType[] values()
for (ConnectiveType c : ConnectiveType.values()) System.out.println(c);
public static ConnectiveType 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 String getConnective()
public int getPrecedence()
public String toString()
toString
in class Enum<ConnectiveType>
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.