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
Analogous to the JDK method java.lang.Stream#peek(java.util.function.Consumer) introduce a peek extension method for Iterable and Iterator. This method just consumes an element and produces an Iterable/Iterator providing the same elements as the source. This method is mainly interesting for debugging purposes.
Analogous to the JDK method java.lang.Stream#peek(java.util.function.Consumer) introduce a peek extension method for
Iterable
andIterator
. This method just consumes an element and produces an Iterable/Iterator providing the same elements as the source. This method is mainly interesting for debugging purposes.static def <T> Iterable<T> peek(Iterable<T> iterable, (T)=>void action)
static def <T> Iterator<T> peek(Iterator<T> iterator, (T)=>void action)
If you want this ticket to be implemented, please give feedback, since it is only implemented on demand.
The text was updated successfully, but these errors were encountered: