public static enum Optimizer.CostModelType extends Enum<Optimizer.CostModelType>
Enum Constant and Description |
---|
RUNTIME_METRICS |
STATIC_MEM_METRIC |
Modifier and Type | Method and Description |
---|---|
static Optimizer.CostModelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Optimizer.CostModelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Optimizer.CostModelType STATIC_MEM_METRIC
public static final Optimizer.CostModelType RUNTIME_METRICS
public static Optimizer.CostModelType[] values()
for (Optimizer.CostModelType c : Optimizer.CostModelType.values()) System.out.println(c);
public static Optimizer.CostModelType 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 © 2022 The Apache Software Foundation. All rights reserved.