org.apache.uima.conceptMapper.support.dictionaryResource
Class DictionaryResource_impl.DictEntriesImpl

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<DictionaryResource.DictEntry>
              extended by org.apache.uima.conceptMapper.support.dictionaryResource.DictionaryResource_impl.DictEntriesImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<DictionaryResource.DictEntry>, java.util.Collection<DictionaryResource.DictEntry>, java.util.List<DictionaryResource.DictEntry>, java.util.RandomAccess, DictionaryResource.DictEntries
Enclosing class:
DictionaryResource_impl

public static class DictionaryResource_impl.DictEntriesImpl
extends java.util.ArrayList<DictionaryResource.DictEntry>
implements DictionaryResource.DictEntries

Private class for storing first words in the dict hashtable.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
DictionaryResource_impl.DictEntriesImpl()
          Create a new dictionary entry.
 
Method Summary
 java.util.ArrayList<DictionaryResource.DictEntry> getEntries()
           
 void putEntry(java.lang.String[] elements, java.lang.String unsorted, EntryProperties props)
          Add a new phrase to an existing dictionary entry.
 java.lang.String toString()
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode
 
Methods inherited from class java.util.AbstractCollection
containsAll
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode
 

Constructor Detail

DictionaryResource_impl.DictEntriesImpl

public DictionaryResource_impl.DictEntriesImpl()
Create a new dictionary entry.

Method Detail

putEntry

public void putEntry(java.lang.String[] elements,
                     java.lang.String unsorted,
                     EntryProperties props)
Add a new phrase to an existing dictionary entry.

Specified by:
putEntry in interface DictionaryResource.DictEntries
Parameters:
elements - the text to be entered in the dictionary
props - the properties object for the phrase

getEntries

public java.util.ArrayList<DictionaryResource.DictEntry> getEntries()
Specified by:
getEntries in interface DictionaryResource.DictEntries
Returns:
list of dictionary entries

toString

public java.lang.String toString()
Specified by:
toString in interface DictionaryResource.DictEntries
Overrides:
toString in class java.util.AbstractCollection<DictionaryResource.DictEntry>


Copyright © 2011. All Rights Reserved.