You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
in a current project I use a lot "min" and "max" methods (like the methods from the java stream api).
So in this project I wrote a small event stream extension with this methods but maybe there is the possibility to add these methods in a upcoming release/milestone/snapshot ;)
default EventStream<T> min(Comparator<? super T> comparator) {
return accumulate(BinaryOperator.minBy(comparator));
}
default EventStream<T> max(Comparator<? super T> comparator) {
return accumulate(BinaryOperator.maxBy(comparator));
}
The text was updated successfully, but these errors were encountered:
Hi,
in a current project I use a lot "min" and "max" methods (like the methods from the java stream api).
So in this project I wrote a small event stream extension with this methods but maybe there is the possibility to add these methods in a upcoming release/milestone/snapshot ;)
The text was updated successfully, but these errors were encountered: