io.polaris.core.tuple.Tuple9 Maven / Gradle / Ivy
package io.polaris.core.tuple;
import lombok.*;
import java.io.Serializable;
/**
* @author Qt
* @since 1.8
*/
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
@ToString
public class Tuple9 implements Serializable, Tuple {
private static final long serialVersionUID = 1L;
private T1 first;
private T2 second;
private T3 third;
private T4 fourth;
private T5 fifth;
private T6 sixth;
private T7 seventh;
private T8 eighth;
private T9 ninth;
public static Tuple9 of(T1 first, T2 second, T3 third, T4 fourth, T5 fifth, T6 sixth, T7 seventh, T8 eighth, T9 ninth) {
return new Tuple9<>(first, second, third, fourth, fifth, sixth, seventh, eighth, ninth);
}
}