public static enum ReflectionCloneBehavior.Policy extends Enum<ReflectionCloneBehavior.Policy>
| Enum Constant and Description |
|---|
all
Clones any objects.
|
cloneable
Only clones objects implementing
Cloneable. |
| Modifier and Type | Method and Description |
|---|---|
static ReflectionCloneBehavior.Policy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReflectionCloneBehavior.Policy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReflectionCloneBehavior.Policy cloneable
Cloneable.public static final ReflectionCloneBehavior.Policy all
public static ReflectionCloneBehavior.Policy[] values()
for (ReflectionCloneBehavior.Policy c : ReflectionCloneBehavior.Policy.values()) System.out.println(c);
public static ReflectionCloneBehavior.Policy 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 nullCopyright © 2020. All rights reserved.