Package io.immutables.common
Interface Foldable<E>
- All Known Implementing Classes:
Vect
public interface Foldable<E>
-
Method Summary
Modifier and TypeMethodDescription<A> Afold(A left, BiFunction<A, E, A> reducer) <A> Afold(BiFunction<E, A, A> reducer, A right) reduce(BiFunction<E, E, E> reducer)
-
Method Details
-
fold
-
fold
-
reduce
-