Class AffixedWord.Affix
- java.lang.Object
-
- org.apache.lucene.analysis.hunspell.AffixedWord.Affix
-
- Enclosing class:
- AffixedWord
public static final class AffixedWord.Affix extends java.lang.Object
An object representing a prefix or a suffix applied to a word stem
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
affixId
private java.lang.String
presentableFlag
-
Constructor Summary
Constructors Constructor Description Affix(Dictionary dictionary, int affixId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getFlag()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
Affix
Affix(Dictionary dictionary, int affixId)
-
-
Method Detail
-
getFlag
public java.lang.String getFlag()
- Returns:
- the corresponding affix flag as it appears in the *.aff file. Depending on the format, it could be a Unicode character, two ASCII characters, or an integer in decimal form
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-