Java 2 Útikalauz programozóknak 5.0

elte.java2_utikalauz5.cpp
OpTeszt.Muveletek felsorolási típus

java.lang.Object
  extended by java.lang.Enum<OpTeszt.Muveletek>
      extended by 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>


Felsorolt értékek
KIVONÁS
           
OSZTÁS
           
ÖSSZEADÁS
           
SZORZÁS
           
 
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.
 
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

Ö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
Metódusok részletezése

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)

Java 2 Útikalauz programozóknak 5.0