spring-framework / org.springframework.expression.spel.ast / Projection

Projection

open class Projection : SpelNodeImpl

Represents projection, where a given operation is performed on all elements in some input sequence, returning a new sequence of the same size. For example: "{1,2,3,4,5,6,7,8,9,10}.!{#isEven(#this)}" returns "[n, y, n, y, n, y, n, y, n, y]"

Author
Andy Clement

Author
Mark Fisher

Author
Juergen Hoeller

Since
3.0

Constructors

<init>

Projection(nullSafe: Boolean, pos: Int, expression: SpelNodeImpl)

Functions

getValueInternal

open fun getValueInternal(state: ExpressionState): TypedValue

toStringAST

open fun toStringAST(): String