public static enum Assigner.Typing extends Enum<Assigner.Typing>
Enum Constant and Description |
---|
DYNAMIC
Allows dynamic typing.
|
STATIC
Requires static typing.
|
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. |
String |
toString() |
static Assigner.Typing |
valueOf(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(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 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.public String toString()
toString
in class Enum<Assigner.Typing>
Copyright © 2014–2015. All rights reserved.