/** * Create a new instance. * * @param a the first value * @param b the second value * @param <A> the first value type * @param <B> the second value type * @return the new instance */ public static <A, B> Pair<A, B> create(A a, B b) { return new Pair<A, B>(a, b); }
/** * Create a new instance. * * @param a the first value * @param b the second value * @param <A> the first value type * @param <B> the second value type * @return the new instance */ public static <A, B> Pair<A, B> create(A a, B b) { return new Pair<A, B>(a, b); }
/** * Create a new instance. * * @param a the first value * @param b the second value * @param <A> the first value type * @param <B> the second value type * @return the new instance */ public static <A, B> Pair<A, B> create(A a, B b) { return new Pair<A, B>(a, b); }
/** * Create a new instance. * * @param a the first value * @param b the second value * @param <A> the first value type * @param <B> the second value type * @return the new instance */ public static <A, B> Pair<A, B> create(A a, B b) { return new Pair<A, B>(a, b); }
/** * Create a new instance. * * @param a the first value * @param b the second value * @param <A> the first value type * @param <B> the second value type * @return the new instance */ public static <A, B> Pair<A, B> create(A a, B b) { return new Pair<A, B>(a, b); }
/** * Create a new instance. * * @param a the first value * @param b the second value * @param <A> the first value type * @param <B> the second value type * @return the new instance */ public static <A, B> Pair<A, B> create(A a, B b) { return new Pair<A, B>(a, b); }