Class SCList
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.ArrayList
|
+--SCList
- All Implemented Interfaces:
- Cloneable, Collection, List, Serializable
- public class SCList
- extends ArrayList
This class represents a list of special clauses
- Author:
- P. URSO
- See Also:
SpecialClause
, Serialized Form
Method Summary |
SpecialClause |
getClause(int i)
Returns the clause at the specified position in this list. |
String |
toString()
Returns a string representation of this special clause list with
semi-colon separator. |
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize |
SCList
public SCList()
getClause
public SpecialClause getClause(int i)
- Returns the clause at the specified position in this list.
- Parameters:
index
- index of clause to return.- Returns:
- the clause at the specified position in this list.
toString
public String toString()
- Returns a string representation of this special clause list with
semi-colon separator.
The string representation consists of each clause separated by
new line.
- Overrides:
toString
in class AbstractCollection
- Returns:
- a string representation of this list.