Add Predicate.of(), Consumer.of(), etc. (original) (raw)
Gernot Neppert mcnepp02 at googlemail.com
Thu May 7 17:09:30 UTC 2015
- Previous message: Add Predicate.of(), Consumer.of(), etc.
- Next message: Add Predicate.of(), Consumer.of(), etc.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Yeah, this is what came to my mind first. Just seems more elegant that a static helper method in Predicate. (Even though I'd prefer the name "without" over "filterNot".) Should be a default method implemented in terms of "filter".
Am 06.05.2015 16:06, schrieb Stephen Colebourne:
I also think that filterNot should be added to stream. Its just too common a case. Stephen
- Previous message: Add Predicate.of(), Consumer.of(), etc.
- Next message: Add Predicate.of(), Consumer.of(), etc.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]