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

net.cassite.f.Misc Maven / Gradle / Ivy

The newest version!
package net.cassite.f;

class Misc {
    private Misc() {
    }

    @FunctionalInterface
    interface IntFunction {
        int apply(T t);
    }

    @FunctionalInterface
    interface FloatFunction {
        float apply(T t);
    }

    @FunctionalInterface
    interface LongFunction {
        long apply(T t);
    }

    @FunctionalInterface
    interface DoubleFunction {
        double apply(T t);
    }

    @FunctionalInterface
    interface ShortFunction {
        short apply(T t);
    }

    @FunctionalInterface
    interface ByteFunction {
        byte apply(T t);
    }

    @FunctionalInterface
    interface CharFunction {
        char apply(T t);
    }

    @FunctionalInterface
    interface BoolFunction {
        boolean apply(T t);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy