Package com.mathmaster13.fynotek
Enum Class BaseFynotekWord.Ablaut
- All Implemented Interfaces:
Inflection
,Serializable
,Comparable<BaseFynotekWord.Ablaut>
,Constable
- Enclosing class:
- BaseFynotekWord
public static enum BaseFynotekWord.Ablaut
extends Enum<BaseFynotekWord.Ablaut>
implements Inflection
Represents Fynotek ablaut. If a field is not applicable to a particular form of ablaut, a null character (
) is used.
When used as an Inflection
, non-null instances of this enum represent words that have been inflected,
but it is unknown what they have been inflected for (only their ablaut is known).- Since:
- 2.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents A ablaut.Represents a word that has been inflected for a case or tense, but the inflection is an "implied" form of a word.Represents E ablaut.Represents I ablaut.Represents O ablaut.Represents reduplication ablaut.Represents U ablaut.Represents Y ablaut. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal char
The (primary) letter of this ablaut as achar
.final char
The letter paired with this ablaut as achar
.Fields inherited from interface com.mathmaster13.fynotek.Inflection
values
-
Method Summary
Modifier and TypeMethodDescription@NotNull BaseFynotekWord.Ablaut
This method is solely to provide compatibility with theInflection
interface.static BaseFynotekWord.Ablaut
Returns the enum constant of this class with the specified name.static BaseFynotekWord.Ablaut[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
DEFAULT
Represents a word that has been inflected for a case or tense, but the inflection is an "implied" form of a word. Nominative-case nouns and present-tense verbs fall into this category. Note that this does not represent the root form of a word (the morpheme itself which is not inflected at all)—that is represented by anull
ablaut. -
A
Represents A ablaut. The secondary letter for A ablaut is E. -
E
Represents E ablaut. The secondary letter for E ablaut is A (in modern Fynotek) or I (in old Fynotek). -
I
Represents I ablaut. The secondary letter for I ablaut is Y. -
Y
Represents Y ablaut. The secondary letter for Y ablaut is I. -
O
Represents O ablaut. The secondary letter for O ablaut is U. -
U
Represents U ablaut. The secondary letter for U ablaut is O. -
REDUPLICATION
Represents reduplication ablaut. This lengthens a word's final vowel if it is short, and shortens it if it is long.
-
-
Field Details
-
asChar
public final char asCharThe (primary) letter of this ablaut as achar
.DEFAULT
andREDUPLICATION
have no letter association, so this field is a null character (''
for them. -
secondary
public final char secondaryThe letter paired with this ablaut as achar
. This field stores the letter to be used if the last vowel of a word is already the ablaut's primary letter (shown as its enum constant name). That is, if applying a primary letter to a root form would have no effect, this letter will be used instead.DEFAULT
andREDUPLICATION
have no letter association, so this field is a null character (''
for them. The character stored in this field is biased towards modern Fynotek, soE
has'a'
in this field and not'i'
.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getAblaut
This method is solely to provide compatibility with theInflection
interface. It simply returnsthis
.- Specified by:
getAblaut
in interfaceInflection
- Returns:
this
- Since:
- 3.0
- See Also:
-