Class Selection

java.lang.Object
org.springframework.expression.spel.ast.SpelNodeImpl
org.springframework.expression.spel.ast.Selection
All Implemented Interfaces:
Opcodes, SpelNode

public class Selection extends SpelNodeImpl
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.

Since:
3.0
Author:
Andy Clement, Mark Fisher, Sam Brannen, Juergen Hoeller