Package net.zemberek.yapi
Enum KelimeTipi
- java.lang.Object
-
- java.lang.Enum<KelimeTipi>
-
- net.zemberek.yapi.KelimeTipi
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<KelimeTipi>
public enum KelimeTipi extends java.lang.Enum<KelimeTipi>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndeks()
static KelimeTipi
getTip(int indeks)
static KelimeTipi
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static KelimeTipi[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ISIM
public static final KelimeTipi ISIM
-
FIIL
public static final KelimeTipi FIIL
-
SIFAT
public static final KelimeTipi SIFAT
-
SAYI
public static final KelimeTipi SAYI
-
YANKI
public static final KelimeTipi YANKI
-
ZAMIR
public static final KelimeTipi ZAMIR
-
SORU
public static final KelimeTipi SORU
-
IMEK
public static final KelimeTipi IMEK
-
ZAMAN
public static final KelimeTipi ZAMAN
-
EDAT
public static final KelimeTipi EDAT
-
BAGLAC
public static final KelimeTipi BAGLAC
-
OZEL
public static final KelimeTipi OZEL
-
UNLEM
public static final KelimeTipi UNLEM
-
KISALTMA
public static final KelimeTipi KISALTMA
-
HATALI
public static final KelimeTipi HATALI
-
-
Method Detail
-
values
public static KelimeTipi[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (KelimeTipi c : KelimeTipi.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KelimeTipi valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getTip
public static KelimeTipi getTip(int indeks)
-
getIndeks
public int getIndeks()
-
-