public enum SchoolType extends Enum<SchoolType>
| Enum Constant and Description |
|---|
libre
banc libre // was 2 before version 4.0
|
objet
banc objet // was 1 before version 4.0
|
undefined
banc indéterminé (valeur par défaut) // was 3 before version 4.0
|
| Modifier and Type | Method and Description |
|---|---|
static SchoolType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchoolType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchoolType undefined
public static final SchoolType objet
public static final SchoolType libre
public static SchoolType[] values()
for (SchoolType c : SchoolType.values()) System.out.println(c);
public static SchoolType 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 nullCopyright © 2008–2017 IRD. All rights reserved.