Interface DictEntries
- All Superinterfaces:
Collection<DictEntry>,Iterable<DictEntry>,List<DictEntry>,SequencedCollection<DictEntry>
An object representing homonym dictionary entries. Note that the order of entries here may differ
from the order in the *.dic file!
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringgetMorphologicalData(int entryIndex) Same asget(entryIndex).getMorphologicalData()getMorphologicalValues(int entryIndex, String key) Same asget(entryIndex).getMorphologicalValues(key)intsize()Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
add, add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, equals, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, set, sort, spliterator, subList, toArray, toArray
-
Method Details
-
size
int size()- Specified by:
sizein interfaceCollection<DictEntry>- Specified by:
sizein interfaceList<DictEntry>- Returns:
- a positive number of dictionary entries with the same word. Most often it's 1 (unless
there are homonyms). Entries are indexed from 0 to
size() - 1and these indices can be passed into other methods of this class.
-
getMorphologicalData
Same asget(entryIndex).getMorphologicalData() -
getMorphologicalValues
Same asget(entryIndex).getMorphologicalValues(key)
-