org.apache.uima.conceptMapper.support.dictionaryResource
Class DictionaryResource_impl.DictEntriesImpl
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<DictionaryResource.DictEntry>
org.apache.uima.conceptMapper.support.dictionaryResource.DictionaryResource_impl.DictEntriesImpl
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<DictionaryResource.DictEntry>, Collection<DictionaryResource.DictEntry>, List<DictionaryResource.DictEntry>, RandomAccess, DictionaryResource.DictEntries
- Enclosing class:
- DictionaryResource_impl
public static class DictionaryResource_impl.DictEntriesImpl
- extends ArrayList<DictionaryResource.DictEntry>
- implements DictionaryResource.DictEntries
Private class for storing first words in the dict hashtable.
- See Also:
- Serialized Form
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 |
DictionaryResource_impl.DictEntriesImpl
public DictionaryResource_impl.DictEntriesImpl()
- Create a new dictionary entry.
putEntry
public void putEntry(String[] elements,
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 dictionaryprops
- the properties object for the phrase
getEntries
public ArrayList<DictionaryResource.DictEntry> getEntries()
- Specified by:
getEntries
in interface DictionaryResource.DictEntries
- Returns:
- list of dictionary entries
toString
public String toString()
- Specified by:
toString
in interface DictionaryResource.DictEntries
- Overrides:
toString
in class AbstractCollection<DictionaryResource.DictEntry>
Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.