public enum ResultStyle extends Enum<ResultStyle>
Enum Constant and Description |
---|
ANY
Indicates that caller will accept any applicable style.
|
ITERABLE
Indicates that the expression returns its result as an Iterable
which must not be modified by the caller.
|
LIST
Indicates that the expression returns its result as a list which must
not be modified by the caller.
|
MUTABLE_LIST
Indicates that the expression returns its result as a list which may
safely be modified by the caller.
|
VALUE
Indicates that the expression results its result as an immutable
value.
|
VALUE_NOT_NULL
Indicates that the expression results its result as an immutable
value which will never be null.
|
Modifier and Type | Field and Description |
---|---|
static List<ResultStyle> |
ANY_LIST |
static List<ResultStyle> |
ANY_ONLY |
static List<ResultStyle> |
ITERABLE_ANY |
static List<ResultStyle> |
ITERABLE_LIST |
static List<ResultStyle> |
ITERABLE_LIST_MUTABLELIST |
static List<ResultStyle> |
ITERABLE_LIST_MUTABLELIST_ANY |
static List<ResultStyle> |
ITERABLE_MUTABLELIST |
static List<ResultStyle> |
ITERABLE_MUTABLELIST_LIST |
static List<ResultStyle> |
ITERABLE_ONLY |
static List<ResultStyle> |
LIST_MUTABLELIST |
static List<ResultStyle> |
LIST_ONLY |
static List<ResultStyle> |
MUTABLELIST_LIST |
static List<ResultStyle> |
MUTABLELIST_ONLY |
Modifier and Type | Method and Description |
---|---|
static ResultStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResultStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultStyle ANY
public static final ResultStyle MUTABLE_LIST
public static final ResultStyle LIST
public static final ResultStyle ITERABLE
public static final ResultStyle VALUE
public static final ResultStyle VALUE_NOT_NULL
public static final List<ResultStyle> ANY_LIST
public static final List<ResultStyle> ITERABLE_ONLY
public static final List<ResultStyle> MUTABLELIST_ONLY
public static final List<ResultStyle> LIST_ONLY
public static final List<ResultStyle> ITERABLE_ANY
public static final List<ResultStyle> ITERABLE_LIST
public static final List<ResultStyle> ITERABLE_MUTABLELIST
public static final List<ResultStyle> ITERABLE_LIST_MUTABLELIST
public static final List<ResultStyle> LIST_MUTABLELIST
public static final List<ResultStyle> MUTABLELIST_LIST
public static final List<ResultStyle> ITERABLE_LIST_MUTABLELIST_ANY
public static final List<ResultStyle> ITERABLE_MUTABLELIST_LIST
public static final List<ResultStyle> ANY_ONLY
public static ResultStyle[] values()
for (ResultStyle c : ResultStyle.values()) System.out.println(c);
public static ResultStyle 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 © 2018 Hitachi Vantara. All rights reserved.