elte.java2_utikalauz5.cpp
OpTeszt.Muveletek felsorolási típus
java.lang.Object
java.lang.Enum<OpTeszt.Muveletek>
elte.java2_utikalauz5.cpp.OpTeszt.Muveletek
- Megvalósított interfészek:
- Serializable, Comparable<OpTeszt.Muveletek>
- Beágyazó osztály:
- OpTeszt
- static enum OpTeszt.Muveletek
- extends Enum<OpTeszt.Muveletek>
Metódusok |
(package private) abstract double |
eval(double x,
double y)
|
static OpTeszt.Muveletek |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static OpTeszt.Muveletek[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Felsorolt értékek részletezése |
ÖSSZEADÁS
public static final OpTeszt.Muveletek ÖSSZEADÁS
KIVONÁS
public static final OpTeszt.Muveletek KIVONÁS
SZORZÁS
public static final OpTeszt.Muveletek SZORZÁS
OSZTÁS
public static final OpTeszt.Muveletek OSZTÁS
values
public static final OpTeszt.Muveletek[] 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(OpTeszt.Muveletek c : OpTeszt.Muveletek.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 OpTeszt.Muveletek 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
eval
abstract double eval(double x,
double y)