tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aritz Maeztu <>
Subject EL Stream API differing from Java's one
Date Wed, 24 Aug 2016 06:44:33 GMT
I've already posted the issue in StackOverflow:

Using Tomcat 8.0.30, I've implemented some EL accesses to the stream 
API. However, I've found that this expression:

|#{ ->str == 'Test1')} Returns a ||
type. Looking at the API documentation it 
also says that. However, in the standard Java Stream API this kind of 
method returns a boolean, which is the result of evaluating the 
Predicate and see if any object in the stream matches it.|

Aritz Maeztu Otaño
Departamento Desarrollo de Software 

Pol. Ind. Mocholi. C/Rio Elorz, Nave 13E 31110 Noain (Navarra)
Telf. Aritz Maeztu: 948 68 03 06
Telf. Secretaría: 948 21 40 40

Antes de imprimir este e-mail piense bien si es necesario hacerlo: El 
medioambiente es cosa de todos.

View raw message