|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ResultStyle> mondrian.calc.ResultStyle
public enum ResultStyle
Enumeration of ways that a compiled expression can return its result to its caller.
Enum Constant Summary | |
---|---|
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. |
Field Summary | |
---|---|
static List<ResultStyle> |
ANY_LIST
|
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
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Field Detail |
---|
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
Method Detail |
---|
public static ResultStyle[] values()
for (ResultStyle c : ResultStyle.values()) System.out.println(c);
public static ResultStyle valueOf(String name)
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullname
- the name of the enum constant to be returned.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |