Package org.getalp.dbnary.morphology
Class InflectedFormSet
- java.lang.Object
-
- org.getalp.dbnary.morphology.InflectedFormSet
-
-
Constructor Summary
Constructors Constructor Description InflectedFormSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(List<? extends InflectionData> keys, Set<String> values)
Add all values in the current Inflected Forms Set for given keyvoid
add(InflectionData key, String value)
Add value in the current Inflected Forms Set for given keyvoid
add(InflectionData key, Set<String> values)
Add all values in the current Inflected Forms Set for given keyvoid
addAll(InflectedFormSet otherSet)
Map<InflectionData,Set<String>>
getMap()
Iterator<Map.Entry<InflectionData,Set<String>>>
iterator()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
add
public void add(List<? extends InflectionData> keys, Set<String> values)
Add all values in the current Inflected Forms Set for given key- Parameters:
keys
- the list of inflections for which the set of values are addedvalues
- the set of values to add to the map.
-
add
public void add(InflectionData key, Set<String> values)
Add all values in the current Inflected Forms Set for given key- Parameters:
key
- the inflection for which the set of values are addedvalues
- the set of values to add to the map.
-
add
public void add(InflectionData key, String value)
Add value in the current Inflected Forms Set for given key- Parameters:
key
- the inflection for which the map of values are addedvalue
- the value to add to the map.
-
addAll
public void addAll(InflectedFormSet otherSet)
-
getMap
public Map<InflectionData,Set<String>> getMap()
-
-