public static enum Assigner.Typing extends java.lang.Enum<Assigner.Typing>
| Enum Constant and Description |
|---|
DYNAMIC
Allows dynamic typing.
|
STATIC
Requires static typing.
|
| Modifier and Type | Field and Description |
|---|---|
private boolean |
dynamic
true if dynamic typing is a legitimate choice. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDynamic()
Checks if this instance's typing behavior permits dynamic typing.
|
static Assigner.Typing |
of(boolean dynamic)
Resolves a typing constant for the presented boolean where
true indicates that dynamic typing is a legitimate choice. |
static Assigner.Typing |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Assigner.Typing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Assigner.Typing STATIC
public static final Assigner.Typing DYNAMIC
public static Assigner.Typing[] values()
for (Assigner.Typing c : Assigner.Typing.values()) System.out.println(c);
public static Assigner.Typing 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 nullpublic static Assigner.Typing of(boolean dynamic)
true indicates that dynamic typing is a legitimate choice.dynamic - An indicator for if dynamic typing is a legitimate choice.public boolean isDynamic()
true if dynamic typing is a legitimate choice.