Class Definitions

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<SingleDefinition>
              extended by Definitions
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<SingleDefinition>, java.util.Collection<SingleDefinition>, java.util.List<SingleDefinition>, java.util.RandomAccess

public class Definitions
extends java.util.ArrayList<SingleDefinition>

A Definitions object consists of a list of alternatives (each of which is a list of terminals and/or nonterminals), but does not include the thing being defined.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
Definitions()
          Constructs an empty list of definitions.
 
Method Summary
 java.lang.String toString()
          Returns a string containing the contents of this ArrayList, separated by " | " symbols.
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, 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, 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, removeAll, retainAll, subList
 

Constructor Detail

Definitions

Definitions()
Constructs an empty list of definitions.

Method Detail

toString

public java.lang.String toString()
Returns a string containing the contents of this ArrayList, separated by " | " symbols.

Overrides:
toString in class java.util.AbstractCollection<SingleDefinition>
See Also:
AbstractCollection.toString()