org.springframework.expression.spel.ast

Class Projection

  • All Implemented Interfaces:
    Opcodes, SpelNode


    public class Projection
    extends 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]"
    Since:
    3.0
    Author:
    Andy Clement, Mark Fisher, Juergen Hoeller