Serializable
, Comparable<Linkage>
, Named
@Incubating public enum Linkage extends Enum<Linkage> implements Named
Named.Namer
Enum Constant | Description |
---|---|
SHARED |
Dynamically link binaries together.
|
STATIC |
Statically link binaries together.
|
Modifier and Type | Method | Description |
---|---|---|
String |
getName() |
The object's name.
|
static Linkage |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Linkage[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Linkage STATIC
public static final Linkage SHARED
public static Linkage[] values()
for (Linkage c : Linkage.values()) System.out.println(c);
public static Linkage 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