public static enum SGASet.Status extends Enum<SGASet.Status>
| Enum Constant and Description |
|---|
AVAILABLE
Disponível
|
DISKLESS
Sem acesso ao disco
|
INACCESSIBLE
Inacessível
|
RESERVED
Reservado
|
| Modifier and Type | Method and Description |
|---|---|
static int |
getIndex(Enum<SGASet.Status> constantToFind)
Retorna o índice da constante no array 'values', ou -1 se não encontrada.
|
static SGASet.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SGASet.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SGASet.Status AVAILABLE
public static final SGASet.Status DISKLESS
public static final SGASet.Status RESERVED
public static final SGASet.Status INACCESSIBLE
public static SGASet.Status[] values()
for (SGASet.Status c : SGASet.Status.values()) System.out.println(c);
public static SGASet.Status 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 static int getIndex(Enum<SGASet.Status> constantToFind)
constantToFind - - a constante a ser procuradaCopyright © 2016. All rights reserved.