com.varankin.bnf
Class Container<Component>

java.lang.Object
  extended by com.varankin.bnf.Container<Component>
Type Parameters:
Component - type of components inside container.
All Implemented Interfaces:
java.lang.Iterable<Component>
Direct Known Subclasses:
DefinitionsList, SingleDefinition, Syntax

public abstract class Container<Component>
extends java.lang.Object
implements java.lang.Iterable<Component>

Some container that consists of an [ordered] list of one or more components separated from each other by some symbol.

Author:
© 2010 Nikolai Varankine

Method Summary
 java.util.Iterator<Component> iterator()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

iterator

public java.util.Iterator<Component> iterator()
Specified by:
iterator in interface java.lang.Iterable<Component>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object