All Packages Class Hierarchy This Package Previous Next Index
Class aioli.vtp.NumArity
java.lang.Object
|
+----aioli.vtp.NumArity
- public class NumArity
- extends Object
- implements Arity
A class that implements a fixed arity.
-
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.
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 false.
atomp
public boolean atomp()
- Checks if it is an atom list.
- Returns:
- Always false.
fixedp
public boolean fixedp()
- Checks if it is an fixed list.
- Returns:
- Always true.
getarity
public int getarity()
- When the arity is fixed returns the number of sons accepted.
- Returns:
- The arity.
gettype
public int gettype()
- Returns the type of arity.
- Returns:
- atomarity.TREE.
- See Also:
- Arity
All Packages Class Hierarchy This Package Previous Next Index