
shz.core.tuple.Tuple2 Maven / Gradle / Ivy
package shz.core.tuple;
import java.io.Serializable;
public class Tuple2 implements Serializable {
private static final long serialVersionUID = 8572679249384617497L;
public T1 _1;
public T2 _2;
protected Tuple2() {
}
protected Tuple2(T1 _1, T2 _2) {
this._1 = _1;
this._2 = _2;
}
public static Tuple2 apply(T1 _1, T2 _2) {
return new Tuple2<>(_1, _2);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy