Java 2 Útikalauz programozóknak 5.0

elte.java2_utikalauz5.lang
Kartya.Ertek felsorolási típus

java.lang.Object
  extended by java.lang.Enum<Kartya.Ertek>
      extended by 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>


Felsorolt értékek
ALSÓ
           
ÁSZ
           
FELSŐ
           
HÉT
           
KILENC
           
KIRÁLY
           
NYOLC
           
TÍZ
           
 
Mezők
private  int pontszam
           
 
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.
 
java.lang.Enum osztálytól örökölt metódusok
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
java.lang.Object osztálytól örökölt metódusok
finalize, getClass, notify, notifyAll, wait, wait, wait
 

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
Mezők részletezése

pontszam

private final int pontszam
Metódusok részletezése

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()

Java 2 Útikalauz programozóknak 5.0