All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.rx.bean.IntTuple Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy