public static enum UnderFileSystem.SpaceType extends Enum<UnderFileSystem.SpaceType>
Enum Constant and Description |
---|
SPACE_FREE |
SPACE_TOTAL |
SPACE_USED |
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Get the integer value of this enum value.
|
static UnderFileSystem.SpaceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnderFileSystem.SpaceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnderFileSystem.SpaceType SPACE_TOTAL
public static final UnderFileSystem.SpaceType SPACE_FREE
public static final UnderFileSystem.SpaceType SPACE_USED
public static UnderFileSystem.SpaceType[] values()
for (UnderFileSystem.SpaceType c : UnderFileSystem.SpaceType.values()) System.out.println(c);
public static UnderFileSystem.SpaceType 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 int getValue()
Copyright © 2013. All rights reserved.