Parsing Engine

danbikel.parser
Interface WordList

All Superinterfaces:
Collection, FixedSizeList, List, Serializable, SexpConvertible

public interface WordList
extends FixedSizeList, SexpConvertible

An interface to specify a fixed-size list of Word objects.


Method Summary
 WordList copy()
          Returns a deep copy of this word list.
 Word getWord(int index)
          Gets the Word object at the specified index.
 
Methods inherited from interface danbikel.util.FixedSizeList
add, add, addAll, addAll, clear, remove, remove, removeAll, retainAll, shift
 
Methods inherited from interface java.util.List
contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, set, size, subList, toArray, toArray
 
Methods inherited from interface danbikel.lisp.SexpConvertible
toSexp
 

Method Detail

getWord

public Word getWord(int index)
Gets the Word object at the specified index.

Returns:
the Word object at the specified index.

copy

public WordList copy()
Returns a deep copy of this word list.

Returns:
a deep copy of this word list.

Parsing Engine

Author: Dan Bikel.