org.rx.bean.IntTuple 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 IntTuple implements Serializable {
private static final long serialVersionUID = -2729116671111900937L;
public static IntTuple of(int t1, T t2) {
return new IntTuple<>(t1, t2);
}
public int left;
public T right;
}