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

org.reactfx.util.Tuples Maven / Gradle / Ivy

There is a newer version: 1.11
Show newest version
package org.reactfx.util;

public class Tuples {

    public static  Tuple2 t(A a, B b) {
        return new Tuple2<>(a, b);
    }

    public static  Tuple3 t(A a, B b, C c) {
        return new Tuple3<>(a, b, c);
    }

    public static  Tuple4 t(A a, B b, C c, D d) {
        return new Tuple4<>(a, b, c, d);
    }

    public static  Tuple5 t(A a, B b, C c, D d, E e) {
        return new Tuple5<>(a, b, c, d, e);
    }

    public static  Tuple6 t(A a, B b, C c, D d, E e, F f) {
        return new Tuple6<>(a, b, c, d, e, f);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy