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

org.rx.bean.BiTuple 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 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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy