public class

Selection

extends SpelNodeImpl
java.lang.Object
   ↳ org.springframework.expression.spel.ast.SpelNodeImpl
     ↳ org.springframework.expression.spel.ast.Selection

Class Overview

Represents selection over a map or collection. For example: {1,2,3,4,5,6,7,8,9,10}.?{#isEven(#this) == 'y'} returns [2, 4, 6, 8, 10]

Basically a subset of the input data is returned based on the evaluation of the expression supplied as selection criteria.

Summary

Constants
int ALL
int FIRST
int LAST
[Expand]
Inherited Fields
From class org.springframework.expression.spel.ast.SpelNodeImpl
Public Constructors
Selection(boolean nullSafe, int variant, int pos, SpelNodeImpl expression)
Public Methods
TypedValue getValueInternal(ExpressionState state)
String toStringAST()
[Expand]
Inherited Methods
From class org.springframework.expression.spel.ast.SpelNodeImpl
From class java.lang.Object
From interface org.springframework.expression.spel.SpelNode

Constants

public static final int ALL

Constant Value: 0 (0x00000000)

public static final int FIRST

Constant Value: 1 (0x00000001)

public static final int LAST

Constant Value: 2 (0x00000002)

Public Constructors

public Selection (boolean nullSafe, int variant, int pos, SpelNodeImpl expression)

Public Methods

public TypedValue getValueInternal (ExpressionState state)

public String toStringAST ()