Hi Aljoscha <aljos...@apache.org>, Thanks for taking interest in my post and question.
If the Evictor removes elements _before_ the function is applied, then what happens the first time, the Evictor is acting? That's what I am failing to understand. At the beginning of the operation on the Stream, he Trigger finds 5 elements, the Evictor removes 2 of them (let's say), and Sum sees incorrect number of elements. Isn't this possible or again, am I demonstrating my loose grasp of the matter? Please correct me. -- N -- Software Technologist http://www.linkedin.com/in/nirmalyasengupta "If you have built castles in the air, your work need not be lost. That is where they should be. Now put the foundation under them."