Package dev.cel.checker
Enum CelStandardDeclarations.StandardFunction.Overload.Size
- java.lang.Object
-
- java.lang.Enum<CelStandardDeclarations.StandardFunction.Overload.Size>
-
- dev.cel.checker.CelStandardDeclarations.StandardFunction.Overload.Size
-
- All Implemented Interfaces:
CelStandardDeclarations.StandardOverload,java.io.Serializable,java.lang.Comparable<CelStandardDeclarations.StandardFunction.Overload.Size>
- Enclosing class:
- CelStandardDeclarations.StandardFunction.Overload
public static enum CelStandardDeclarations.StandardFunction.Overload.Size extends java.lang.Enum<CelStandardDeclarations.StandardFunction.Overload.Size> implements CelStandardDeclarations.StandardOverload
Overloads for retrieving the size of a literal or a collection.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BYTES_SIZELIST_SIZEMAP_SIZESIZE_BYTESSIZE_LISTSIZE_MAPSIZE_STRINGSTRING_SIZE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CelOverloadDeclcelOverloadDecl()static CelStandardDeclarations.StandardFunction.Overload.SizevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CelStandardDeclarations.StandardFunction.Overload.Size[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIZE_STRING
public static final CelStandardDeclarations.StandardFunction.Overload.Size SIZE_STRING
-
SIZE_BYTES
public static final CelStandardDeclarations.StandardFunction.Overload.Size SIZE_BYTES
-
SIZE_LIST
public static final CelStandardDeclarations.StandardFunction.Overload.Size SIZE_LIST
-
SIZE_MAP
public static final CelStandardDeclarations.StandardFunction.Overload.Size SIZE_MAP
-
STRING_SIZE
public static final CelStandardDeclarations.StandardFunction.Overload.Size STRING_SIZE
-
BYTES_SIZE
public static final CelStandardDeclarations.StandardFunction.Overload.Size BYTES_SIZE
-
LIST_SIZE
public static final CelStandardDeclarations.StandardFunction.Overload.Size LIST_SIZE
-
MAP_SIZE
public static final CelStandardDeclarations.StandardFunction.Overload.Size MAP_SIZE
-
-
Method Detail
-
values
public static CelStandardDeclarations.StandardFunction.Overload.Size[] 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.Size c : CelStandardDeclarations.StandardFunction.Overload.Size.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.Size 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
-
-