All Packages Class Hierarchy This Package Previous Next Index
Interface aioli.vtp.AtomValue
- public interface AtomValue
- extends Serializable
Represents the values an atomic operator can take.
-
INT
-
-
METAVAR
-
-
STRING
-
-
clone()
- Gives a copy of the AtomValue.
-
metavariable()
- Gives the value if it's a Metavariable.
-
metavariablep()
- Returns true if the value is a metavariable, false otherwise.
-
num()
- Gives the value if it's an int.
-
nump()
- Returns true if the value is of the TYPE int, false otherwise.
-
string()
- Gives the value if it's a String.
-
stringp()
- Returns true if the value is of the TYPE String, false otherwise.
-
toString()
- Converts the value to a String.
-
type()
- Return the type of the atomvalue.
INT
public static final int INT
STRING
public static final int STRING
METAVAR
public static final int METAVAR
type
public abstract int type()
- Return the type of the atomvalue.
- See Also:
-
num
public abstract int num()
- Gives the value if it's an int.
string
public abstract String string()
- Gives the value if it's a String.
nump
public abstract boolean nump()
- Returns true if the value is of the TYPE int, false otherwise.
stringp
public abstract boolean stringp()
- Returns true if the value is of the TYPE String, false otherwise.
metavariablep
public abstract boolean metavariablep()
- Returns true if the value is a metavariable, false otherwise.
clone
public abstract Object clone()
- Gives a copy of the AtomValue.
- Overrides:
- clone in class Object
metavariable
public abstract Metavariable metavariable()
- Gives the value if it's a Metavariable.
toString
public abstract String toString()
- Converts the value to a String.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index