pro.taskana.common.internal.util.Triplet Maven / Gradle / Ivy
package pro.taskana.common.internal.util;
public class Triplet {
private final L left;
private final M middle;
private final R right;
private Triplet(L left, M middle, R right) {
this.left = left;
this.middle = middle;
this.right = right;
}
public static Triplet of(L left, M middle, R right) {
return new Triplet<>(left, middle, right);
}
public L getLeft() {
return left;
}
public M getMiddle() {
return middle;
}
public R getRight() {
return right;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy