Class KeepLastInflexionScheme
java.lang.Object
java.util.AbstractCollection<MorphoSyntacticFeature>
java.util.AbstractSet<MorphoSyntacticFeature>
java.util.TreeSet<MorphoSyntacticFeature>
org.getalp.dbnary.morphology.InflectionScheme
org.getalp.dbnary.morphology.KeepLastInflexionScheme
- All Implemented Interfaces:
Serializable, Cloneable, Iterable<MorphoSyntacticFeature>, Collection<MorphoSyntacticFeature>, NavigableSet<MorphoSyntacticFeature>, SequencedCollection<MorphoSyntacticFeature>, SequencedSet<MorphoSyntacticFeature>, Set<MorphoSyntacticFeature>, SortedSet<MorphoSyntacticFeature>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(MorphoSyntacticFeature morphoSyntacticFeature) Adding a feature to the inflection scheme.Methods inherited from class InflectionScheme
attachTo, toStringMethods inherited from class TreeSet
addAll, addFirst, addLast, ceiling, clear, clone, comparator, contains, descendingIterator, descendingSet, first, floor, headSet, headSet, higher, isEmpty, iterator, last, lower, pollFirst, pollLast, remove, size, spliterator, subSet, subSet, tailSet, tailSetMethods inherited from class AbstractSet
equals, hashCode, removeAllMethods inherited from class AbstractCollection
containsAll, retainAll, toArray, toArrayMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface NavigableSet
removeFirst, removeLast, reversed
-
Constructor Details
-
KeepLastInflexionScheme
public KeepLastInflexionScheme()
-
-
Method Details
-
add
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:
addin interfaceCollection<MorphoSyntacticFeature>- Specified by:
addin interfaceSet<MorphoSyntacticFeature>- Overrides:
addin classTreeSet<MorphoSyntacticFeature>- Parameters:
morphoSyntacticFeature-- Returns:
-