All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tailoredshapes.underbar.function.RegularFunctions Maven / Gradle / Ivy

There is a newer version: 0.1.2
Show newest version
package com.tailoredshapes.underbar.function;

/**
 * Created by tmarsh on 11/3/16.
 */
public interface RegularFunctions {
    @FunctionalInterface
    interface SeptaConsumer {
        void accept(S s, T t, U u, V v, X x, Y y, Z z);
    }

    @FunctionalInterface
    interface SeptaFunction {
        R apply(T t, U u, V v, W w, X x, Y y, Z z);
    }

    @FunctionalInterface
    interface TriConsumer {
        void accept(T t, U u, V v);
    }

    @FunctionalInterface
    interface TriFunction {
        R apply(T t, U u, V v);
    }

    @FunctionalInterface
    interface QuadFunction {
        R apply(T t, U u, V v, W w);
    }

    @FunctionalInterface
    interface HexFunction {
        R apply(T t, U u, V v, W w, X x, Y y);
    }

    @FunctionalInterface
    interface QuadConsumer {
        void accept(T t, U u, V v, X x);
    }

    @FunctionalInterface
    interface HexConsumer {
        void accept(T t, U u, V v, X x, Y y, Z z);
    }

    @FunctionalInterface
    interface OctaConsumer {
        void accept(R r, S s, T t, U u, V v, X x, Y y, Z z);
    }

    @FunctionalInterface
    interface OctaFunction {
        R apply(T t, U u, V v, W w, X x, Y y, Z z, A a);
    }

    @FunctionalInterface
    interface PentaFunction {
        R apply(T t, U u, V v, W w, X x);
    }

    @FunctionalInterface
    interface PentaConsumer {
        void accept(T t, U u, V v, X x, Y y);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy