Class KeepLastInflexionScheme

All Implemented Interfaces:
Serializable, Cloneable, Iterable<MorphoSyntacticFeature>, Collection<MorphoSyntacticFeature>, NavigableSet<MorphoSyntacticFeature>, SequencedCollection<MorphoSyntacticFeature>, SequencedSet<MorphoSyntacticFeature>, Set<MorphoSyntacticFeature>, SortedSet<MorphoSyntacticFeature>

public class KeepLastInflexionScheme extends InflectionScheme
See Also:
  • Constructor Details

    • KeepLastInflexionScheme

      public KeepLastInflexionScheme()
  • Method Details

    • add

      public boolean add(MorphoSyntacticFeature morphoSyntacticFeature)
      Adding a feature to the inflection scheme. In a FunctionalInflexionScheme, the feature is added, but any feature corresponding to the same property that is present immediately before addition is silently removed from the set. This guaranties that at any time, all properties contained in the inflection set are functional (i.e. are associated to only one value).
      Specified by:
      add in interface Collection<MorphoSyntacticFeature>
      Specified by:
      add in interface Set<MorphoSyntacticFeature>
      Overrides:
      add in class TreeSet<MorphoSyntacticFeature>
      Parameters:
      morphoSyntacticFeature -
      Returns: