Package dev.cel.checker
Enum CelStandardDeclarations.StandardFunction.Overload.Index
- java.lang.Object
-
- java.lang.Enum<CelStandardDeclarations.StandardFunction.Overload.Index>
-
- dev.cel.checker.CelStandardDeclarations.StandardFunction.Overload.Index
-
- All Implemented Interfaces:
CelStandardDeclarations.StandardOverload,java.io.Serializable,java.lang.Comparable<CelStandardDeclarations.StandardFunction.Overload.Index>
- Enclosing class:
- CelStandardDeclarations.StandardFunction.Overload
public static enum CelStandardDeclarations.StandardFunction.Overload.Index extends java.lang.Enum<CelStandardDeclarations.StandardFunction.Overload.Index> implements CelStandardDeclarations.StandardOverload
Overloads for indexing a list or a map.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INDEX_LISTINDEX_MAP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CelOverloadDeclcelOverloadDecl()static CelStandardDeclarations.StandardFunction.Overload.IndexvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CelStandardDeclarations.StandardFunction.Overload.Index[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INDEX_LIST
public static final CelStandardDeclarations.StandardFunction.Overload.Index INDEX_LIST
-
INDEX_MAP
public static final CelStandardDeclarations.StandardFunction.Overload.Index INDEX_MAP
-
-
Method Detail
-
values
public static CelStandardDeclarations.StandardFunction.Overload.Index[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CelStandardDeclarations.StandardFunction.Overload.Index c : CelStandardDeclarations.StandardFunction.Overload.Index.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CelStandardDeclarations.StandardFunction.Overload.Index valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
celOverloadDecl
public CelOverloadDecl celOverloadDecl()
- Specified by:
celOverloadDeclin interfaceCelStandardDeclarations.StandardOverload
-
-