Class StrictInflexionScheme
java.lang.Object
java.util.AbstractCollection<MorphoSyntacticFeature>
java.util.AbstractSet<MorphoSyntacticFeature>
java.util.TreeSet<MorphoSyntacticFeature>
org.getalp.dbnary.morphology.InflectionScheme
org.getalp.dbnary.morphology.StrictInflexionScheme
- All Implemented Interfaces:
Serializable, Cloneable, Iterable<MorphoSyntacticFeature>, Collection<MorphoSyntacticFeature>, NavigableSet<MorphoSyntacticFeature>, SequencedCollection<MorphoSyntacticFeature>, SequencedSet<MorphoSyntacticFeature>, Set<MorphoSyntacticFeature>, SortedSet<MorphoSyntacticFeature>
- See Also:
-
Nested Class Summary
Nested Classes -
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
-
StrictInflexionScheme
public StrictInflexionScheme()
-
-
Method Details
-
add
Adding a feature to the inflection scheme. In a StrictInflexionScheme, the feature is added only if no other feature corresponding to the same property is already present in the Set. This guaranties that any code that will lead to a non functional inflection scheme will break.- Specified by:
addin interfaceCollection<MorphoSyntacticFeature>- Specified by:
addin interfaceSet<MorphoSyntacticFeature>- Overrides:
addin classTreeSet<MorphoSyntacticFeature>- Parameters:
morphoSyntacticFeature-- Returns:
-