Interface Fold2<A,​B>

  • All Known Subinterfaces:
    InlineCard.UrlOrData

    @PublicApi
    @ReturnValuesAreNonnullByDefault
    public interface Fold2<A,​B>
    Sum type of two other types.
    • Method Detail

      • fold

        <T> T fold​(Function<? super A,​? extends T> ifA,
                   Function<? super B,​? extends T> ifB)