|
GNU Prolog for Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Operator.SPECIFIER>
gnu.prolog.io.Operator.SPECIFIER
public static enum Operator.SPECIFIER
Specifier Class Associativity
| Enum Constant Summary | |
|---|---|
FX
prefix non-associative |
|
FY
prefix right-associative |
|
NONE
non operator |
|
XF
postfix non-associative |
|
XFX
infix non-associative |
|
XFY
infix right-associative |
|
YF
postfix left-associative |
|
YFX
infix left-associative |
|
| Method Summary | |
|---|---|
static Operator.SPECIFIER |
fromAtom(AtomTerm specifier)
Return the SPECIFIER represented by the AtomTerm specifier or NONE if it does not match one. |
abstract AtomTerm |
getAtom()
Get the AtomTerm for this class. |
static Operator.SPECIFIER |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Operator.SPECIFIER[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Operator.SPECIFIER FX
public static final Operator.SPECIFIER FY
public static final Operator.SPECIFIER XFX
public static final Operator.SPECIFIER XFY
public static final Operator.SPECIFIER YFX
public static final Operator.SPECIFIER XF
public static final Operator.SPECIFIER YF
public static final Operator.SPECIFIER NONE
| Method Detail |
|---|
public static Operator.SPECIFIER[] values()
for (Operator.SPECIFIER c : Operator.SPECIFIER.values()) System.out.println(c);
public static Operator.SPECIFIER valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic abstract AtomTerm getAtom()
HasAtomAtomTerm for this class.
getAtom in interface HasAtompublic static Operator.SPECIFIER fromAtom(AtomTerm specifier)
NONE if it does not match one.
specifier - the AtomTerm specifier to convert
NONE if it does not match one.
|
GNU Prolog for Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||