public enum CollisionPolicy extends java.lang.Enum<CollisionPolicy>
| Enum Constant and Description |
|---|
FAIL
Forbid collisions.
|
KEEP_FIRST
Keep the class def from the first dex file and discard the def from the
second dex file.
|
| Modifier and Type | Method and Description |
|---|---|
static CollisionPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CollisionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollisionPolicy KEEP_FIRST
public static final CollisionPolicy FAIL
public static CollisionPolicy[] values()
for (CollisionPolicy c : CollisionPolicy.values()) System.out.println(c);
public static CollisionPolicy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2020. All Rights Reserved.