« first day (4544 days earlier)      last day (388 days later) » 

12:00 AM
The perversity of nature is nowhere better demonstrated by the fact that, when exposed to the same atmosphere, bread becomes hard while crackers become soft. (source)
 
 
3 hours later…
3:21 AM
picks nose
 
 
12 hours later…
3:21 PM
dreams of electric sheep
 
 
6 hours later…
9:36 PM
Is there any chance I can use Streams in Thymeleaf like so
${users.stream().filter(u -> u.getAuthorities().stream().anyMatch(a -> a.getAuthority() == 'ADMIN')).count() > 1 ? '' : 'disabled'}"
If not (I guess the answer is no), how do I achieve the same thing using provided Thymeleaf tools?
It cannot resolve u (it's the first time it cannot resolve anything in that expression) so I suppose arrow syntax is off limits in Thymeleaf
 

« first day (4544 days earlier)      last day (388 days later) »