public enum Part extends Enum<Part>
ThreadSafe and Immutable promises to
control which portion of a declaration's state they apply to.Immutable,
ThreadSafe| Enum Constant and Description |
|---|
Instance
Indicates that the instance state only of the declaration is to be
considered.
|
InstanceAndStatic
Indicates that both the instance and static state of the declaration are to
be considered.
|
Static
Indicates that the static state only of the declaration is to be
considered.
|
| Modifier and Type | Method and Description |
|---|---|
static Part |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Part[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Part InstanceAndStatic
public static final Part Instance
public static final Part Static
public static Part[] values()
for (Part c : Part.values()) System.out.println(c);
public static Part 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 © 2012 Surelogic, Inc.. All Rights Reserved.