tuffy.mln
Enum Atom.AtomType
java.lang.Object
java.lang.Enum<Atom.AtomType>
tuffy.mln.Atom.AtomType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Atom.AtomType>
- Enclosing class:
- Atom
public static enum Atom.AtomType
- extends java.lang.Enum<Atom.AtomType>
Enumerated type of Atoms. 1) NONE; 2) EVIDENCE: atom in evidence;
3) QUERY: atom in query; 4) QUEVID: atom in query as evidence.
Method Summary |
static Atom.AtomType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Atom.AtomType[] |
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 |
EVIDENCE
public static final Atom.AtomType EVIDENCE
QUERY
public static final Atom.AtomType QUERY
NONE
public static final Atom.AtomType NONE
QUEVID
public static final Atom.AtomType QUEVID
values
public static Atom.AtomType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Atom.AtomType c : Atom.AtomType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Atom.AtomType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null