Class InflectedFormSet

java.lang.Object
org.getalp.dbnary.morphology.InflectedFormSet
All Implemented Interfaces:
Iterable<Map.Entry<InflectionData, Set<String>>>

public class InflectedFormSet extends Object implements Iterable<Map.Entry<InflectionData, Set<String>>>
  • Constructor Details

    • InflectedFormSet

      public InflectedFormSet()
  • Method Details

    • 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 added
      values - 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 added
      values - 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 added
      value - the value to add to the map.
    • addAll

      public void addAll(InflectedFormSet otherSet)
    • getMap

      public Map<InflectionData, Set<String>> getMap()
    • iterator

      public Iterator<Map.Entry<InflectionData, Set<String>>> iterator()
      Specified by:
      iterator in interface Iterable<Map.Entry<InflectionData, Set<String>>>