public static enum CommonContext.InferableBoolean extends Enum<CommonContext.InferableBoolean>
| Enum Constant and Description |
|---|
FORCE_FALSE
Force the conditional to be false.
|
FORCE_TRUE
Force the conditional to be true.
|
INFER
Try to infer if true or false is most appropriate.
|
| Modifier and Type | Method and Description |
|---|---|
static CommonContext.InferableBoolean |
parse(String value)
Parse the string looking for
true, false, or infer. |
static CommonContext.InferableBoolean |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommonContext.InferableBoolean[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommonContext.InferableBoolean FORCE_FALSE
public static final CommonContext.InferableBoolean FORCE_TRUE
public static final CommonContext.InferableBoolean INFER
public static CommonContext.InferableBoolean[] values()
for (CommonContext.InferableBoolean c : CommonContext.InferableBoolean.values()) System.out.println(c);
public static CommonContext.InferableBoolean 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 CommonContext.InferableBoolean parse(String value)
true, false, or infer.value - to be parsed.CommonContext.InferableBoolean which matches the string.Copyright © 2014-2020 Real Logic Limited. All Rights Reserved.