public enum TypeChoixEvenement extends Enum<TypeChoixEvenement>
Enum Constant and Description |
---|
INDIFFERENT |
NON |
OUI |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
Double |
value() |
static TypeChoixEvenement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeChoixEvenement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeChoixEvenement OUI
public static final TypeChoixEvenement NON
public static final TypeChoixEvenement INDIFFERENT
public static TypeChoixEvenement[] values()
for (TypeChoixEvenement c : TypeChoixEvenement.values()) System.out.println(c);
public static TypeChoixEvenement valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final Double value()
public String toString()
toString
in class Enum<TypeChoixEvenement>
Copyright © 2016. All rights reserved.