public static enum CollectionExecutor.Cost extends Enum<CollectionExecutor.Cost>
Enum Constant and Description |
---|
EXHAUSTIVE |
MULTI_RETURN_INDEX_MATCHING |
SINGLE_RETURN_INDEX_MATCHING |
Modifier and Type | Method and Description |
---|---|
int |
getWeight() |
static CollectionExecutor.Cost |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollectionExecutor.Cost[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionExecutor.Cost SINGLE_RETURN_INDEX_MATCHING
public static final CollectionExecutor.Cost MULTI_RETURN_INDEX_MATCHING
public static final CollectionExecutor.Cost EXHAUSTIVE
public static CollectionExecutor.Cost[] values()
for (CollectionExecutor.Cost c : CollectionExecutor.Cost.values()) System.out.println(c);
public static CollectionExecutor.Cost 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 int getWeight()
Copyright © 2021. All rights reserved.