public static enum FunctionTemplate.FunctionCostCategory extends Enum<FunctionTemplate.FunctionCostCategory>
Modifier and Type | Method and Description |
---|---|
static FunctionTemplate.FunctionCostCategory |
getDefault() |
int |
getValue() |
static FunctionTemplate.FunctionCostCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FunctionTemplate.FunctionCostCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FunctionTemplate.FunctionCostCategory SIMPLE
public static final FunctionTemplate.FunctionCostCategory MEDIUM
public static final FunctionTemplate.FunctionCostCategory COMPLEX
public static FunctionTemplate.FunctionCostCategory[] values()
for (FunctionTemplate.FunctionCostCategory c : FunctionTemplate.FunctionCostCategory.values()) System.out.println(c);
public static FunctionTemplate.FunctionCostCategory 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 getValue()
public static FunctionTemplate.FunctionCostCategory getDefault()
Copyright © 2021 The Apache Software Foundation. All rights reserved.