public enum CloneAbilityResult extends Enum<CloneAbilityResult>
Enum Constant and Description |
---|
CLONEABLE
Enum value Cloneable.
|
NOT_CLONEABLE
Enum value NotCloneable.
|
PARTIALLY_CLONEABLE
Enum value PartiallyCloneable.
|
Modifier and Type | Method and Description |
---|---|
static CloneAbilityResult |
fromString(String value)
Parses a serialized value to a CloneAbilityResult instance.
|
String |
toString() |
static CloneAbilityResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CloneAbilityResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CloneAbilityResult CLONEABLE
public static final CloneAbilityResult PARTIALLY_CLONEABLE
public static final CloneAbilityResult NOT_CLONEABLE
public static CloneAbilityResult[] values()
for (CloneAbilityResult c : CloneAbilityResult.values()) System.out.println(c);
public static CloneAbilityResult 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 CloneAbilityResult fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<CloneAbilityResult>
Copyright © 2019. All rights reserved.