public enum CopyVolumeType extends Enum<CopyVolumeType>
Enum Constant and Description |
---|
InternalVol |
LeafVol |
SharedVol |
Modifier and Type | Method and Description |
---|---|
static CopyVolumeType |
forValue(int value) |
int |
getValue() |
static CopyVolumeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CopyVolumeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CopyVolumeType SharedVol
public static final CopyVolumeType InternalVol
public static final CopyVolumeType LeafVol
public static CopyVolumeType[] values()
for (CopyVolumeType c : CopyVolumeType.values()) System.out.println(c);
public static CopyVolumeType 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()
public static CopyVolumeType forValue(int value)
Copyright © 2012. All Rights Reserved.