public static enum DataView.SafetyMode extends Enum<DataView.SafetyMode>
Enum Constant and Description |
---|
ALL_DATA_CLONED
All data added to the container will be cloned for safety.
|
CLONED_ON_SET
All data added to the container will be cloned for safety.
|
NO_DATA_CLONED
No data added to the container will be cloned, useful for situations
with a large amount of data where the cloning would be too costly.
|
Modifier and Type | Method and Description |
---|---|
static DataView.SafetyMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataView.SafetyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataView.SafetyMode ALL_DATA_CLONED
public static final DataView.SafetyMode CLONED_ON_SET
public static final DataView.SafetyMode NO_DATA_CLONED
public static DataView.SafetyMode[] values()
for (DataView.SafetyMode c : DataView.SafetyMode.values()) System.out.println(c);
public static DataView.SafetyMode 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 null