
jedi.tuple.Tuple2 Maven / Gradle / Ivy
The newest version!
package jedi.tuple;
import static jedi.option.Options.option;
import jedi.option.Option;
public class Tuple2 {
private final A a;
private final B b;
public Tuple2(A a, B b) {
this.a = a;
this.b = b;
}
public A a() {
return a;
}
public B b() {
return b;
}
/**
* @return a Tuple2 with a and b wrapped in an {@link Option}
*/
public Tuple2
© 2015 - 2025 Weber Informatics LLC | Privacy Policy