All Packages Class Hierarchy This Package Previous Next Index
Class aioli.vtp.AtomArity
java.lang.Object
|
+----aioli.vtp.AtomArity
- public class AtomArity
- extends Object
- implements Arity
Defines an arity for atomic operators.
- See Also:
- Arity
-
AtomArity()
-
-
atomp()
- Checks if it is an atom list.
-
fixedp()
- Checks if it is an fixed list.
-
getarity()
- When the arity is fixed returns the number
of sons accepted.
-
gettype()
-
Returns the type of arity.
-
pluslistp()
-
Checks if it is a plus list.
-
starlistp()
-
Checks if it is a star list.
AtomArity
public AtomArity()
starlistp
public boolean starlistp()
- Checks if it is a star list.
- Returns:
- Always false.
pluslistp
public boolean pluslistp()
- Checks if it is a plus list.
- Returns:
- Always true.
atomp
public boolean atomp()
- Checks if it is an atom list.
- Returns:
- Always true.
fixedp
public boolean fixedp()
- Checks if it is an fixed list.
- Returns:
- Always false.
getarity
public int getarity()
- When the arity is fixed returns the number
of sons accepted.
- Returns:
- Always 0.
gettype
public int gettype()
- Returns the type of arity.
- Returns:
- 0.
- See Also:
- atomarity
All Packages Class Hierarchy This Package Previous Next Index