org.rx.bean.BiTuple Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rxlib Show documentation
Show all versions of rxlib Show documentation
A set of utilities for Java
package org.rx.bean;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BiTuple implements Serializable {
private static final long serialVersionUID = 3357404907083491882L;
public static BiTuple of(T1 t1, T2 t2, T3 t3) {
return new BiTuple<>(t1, t2, t3);
}
public T1 left;
public T2 middle;
public T3 right;
}