Package dev.cel.common.ast
Class CelMutableExpr.CelMutableList
- java.lang.Object
-
- dev.cel.common.ast.CelMutableExpr.CelMutableList
-
- All Implemented Interfaces:
dev.cel.common.ast.Expression.List<CelMutableExpr>
- Enclosing class:
- CelMutableExpr
public static final class CelMutableExpr.CelMutableList extends java.lang.Object implements dev.cel.common.ast.Expression.List<CelMutableExpr>
A mutable list creation expression. SeeExpression.List
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CelMutableExpr.CelMutableListcreate(CelMutableExpr... elements)static CelMutableExpr.CelMutableListcreate(java.util.List<CelMutableExpr> elements)static CelMutableExpr.CelMutableListcreate(java.util.List<CelMutableExpr> mutableExprList, java.util.List<java.lang.Integer> optionalIndices)java.util.List<CelMutableExpr>elements()booleanequals(java.lang.Object obj)inthashCode()java.util.List<java.lang.Integer>optionalIndices()voidsetElement(int index, CelMutableExpr element)
-
-
-
Method Detail
-
elements
public java.util.List<CelMutableExpr> elements()
- Specified by:
elementsin interfacedev.cel.common.ast.Expression.List<CelMutableExpr>
-
setElement
public void setElement(int index, CelMutableExpr element)
-
optionalIndices
public java.util.List<java.lang.Integer> optionalIndices()
- Specified by:
optionalIndicesin interfacedev.cel.common.ast.Expression.List<CelMutableExpr>
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
create
public static CelMutableExpr.CelMutableList create(CelMutableExpr... elements)
-
create
public static CelMutableExpr.CelMutableList create(java.util.List<CelMutableExpr> elements)
-
create
public static CelMutableExpr.CelMutableList create(java.util.List<CelMutableExpr> mutableExprList, java.util.List<java.lang.Integer> optionalIndices)
-
-