public enum Specifier extends Enum<Specifier> implements TermConvertable<Atom>
Modifier and Type | Method and Description |
---|---|
Atom |
asTerm() |
boolean |
isBinary() |
boolean |
isInfix() |
boolean |
isPostfix() |
boolean |
isPrefix() |
boolean |
isUnary() |
String |
toString() |
static Specifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Specifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Specifier fx
public static final Specifier fy
public static final Specifier xf
public static final Specifier yf
public static final Specifier xfx
public static final Specifier yfx
public static final Specifier xfy
public static Specifier[] values()
for (Specifier c : Specifier.values()) System.out.println(c);
public static 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 nameNullPointerException
- if the argument is nullpublic Atom asTerm()
asTerm
in interface TermConvertable<Atom>
public boolean isUnary()
public boolean isBinary()
public boolean isPrefix()
public boolean isPostfix()
public boolean isInfix()
Copyright © 2014. All rights reserved.