org.reactfx.util.Tuples Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of reactfx Show documentation
Show all versions of reactfx Show documentation
Reactive event streams for JavaFX
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 - 2025 Weber Informatics LLC | Privacy Policy