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

Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
SCList()
           
 
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
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, remove, removeAll, retainAll
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList
 

Constructor Detail

SCList

public SCList()
Method Detail

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.