bg.bas.dcl.mwe.lists
Class IndexLexicon

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<java.lang.String>
              extended by bg.bas.dcl.mwe.lists.IndexLexicon
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<java.lang.String>, java.util.Collection<java.lang.String>, java.util.List<java.lang.String>, java.util.RandomAccess

public class IndexLexicon
extends java.util.ArrayList<java.lang.String>

See Also:
Serialized Form

Constructor Summary
IndexLexicon()
           
IndexLexicon(java.util.ArrayList<java.lang.Integer> freqCtr)
           
 
Method Summary
 int addEntry(java.lang.String entry)
           
 int changeEntry(int index, java.lang.String entry)
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, 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, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

IndexLexicon

public IndexLexicon()

IndexLexicon

public IndexLexicon(java.util.ArrayList<java.lang.Integer> freqCtr)
Method Detail

addEntry

public int addEntry(java.lang.String entry)

changeEntry

public int changeEntry(int index,
                       java.lang.String entry)