org.apache.hadoop.examples.pi.math
Enum Bellard.Parameter
java.lang.Object
java.lang.Enum<Bellard.Parameter>
org.apache.hadoop.examples.pi.math.Bellard.Parameter
- All Implemented Interfaces:
- Serializable, Comparable<Bellard.Parameter>
- Enclosing class:
- Bellard
public static enum Bellard.Parameter
- extends Enum<Bellard.Parameter>
Parameters for the sums
P8_1
public static final Bellard.Parameter P8_1
P8_3
public static final Bellard.Parameter P8_3
P8_5
public static final Bellard.Parameter P8_5
P8_7
public static final Bellard.Parameter P8_7
P20_21
public static final Bellard.Parameter P20_21
P20_3
public static final Bellard.Parameter P20_3
P20_5
public static final Bellard.Parameter P20_5
P20_7
public static final Bellard.Parameter P20_7
P20_9
public static final Bellard.Parameter P20_9
P20_11
public static final Bellard.Parameter P20_11
P20_13
public static final Bellard.Parameter P20_13
P20_15
public static final Bellard.Parameter P20_15
P20_17
public static final Bellard.Parameter P20_17
P20_19
public static final Bellard.Parameter P20_19
values
public static Bellard.Parameter[] 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 (Bellard.Parameter c : Bellard.Parameter.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Bellard.Parameter 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.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
get
public static Bellard.Parameter get(String s)
- Get the Parameter represented by the String
Copyright © 2009 The Apache Software Foundation