elte.java2_utikalauz5.lang
Kartya.Ertek felsorolási típus
java.lang.Object
java.lang.Enum<Kartya.Ertek>
elte.java2_utikalauz5.lang.Kartya.Ertek
- Megvalósított interfészek:
- Serializable, Comparable<Kartya.Ertek>
- Beágyazó osztály:
- Kartya
- public static enum Kartya.Ertek
- extends Enum<Kartya.Ertek>
Metódusok |
(package private) int |
getPontszam()
|
static Kartya.Ertek |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Kartya.Ertek[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Felsorolt értékek részletezése |
HÉT
public static final Kartya.Ertek HÉT
NYOLC
public static final Kartya.Ertek NYOLC
KILENC
public static final Kartya.Ertek KILENC
TÍZ
public static final Kartya.Ertek TÍZ
ALSÓ
public static final Kartya.Ertek ALSÓ
FELSŐ
public static final Kartya.Ertek FELSŐ
KIRÁLY
public static final Kartya.Ertek KIRÁLY
ÁSZ
public static final Kartya.Ertek ÁSZ
pontszam
private final int pontszam
values
public static final Kartya.Ertek[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(Kartya.Ertek c : Kartya.Ertek.values())
System.out.println(c);
- Visszaadott érték:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static Kartya.Ertek valueOf(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.)
- Paraméterek:
name
- the name of the enum constant to be returned.
- Visszaadott érték:
- the enum constant with the specified name
- Specifikált kivételek:
IllegalArgumentException
- if this enum type has no constant
with the specified name
getPontszam
int getPontszam()