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

io.polaris.core.tuple.Tuple3 Maven / Gradle / Ivy

There is a newer version: 3.2.1
Show newest version
package io.polaris.core.tuple;

import lombok.*;

import java.io.Serializable;

/**
 * @author Qt
 * @since 1.8
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
@ToString
public class Tuple3 implements Serializable, Tuple {
	private static final long serialVersionUID = 1L;
	private T1 first;
	private T2 second;
	private T3 third;

	public static  Tuple3 of(T1 first, T2 second, T3 third) {
		return new Tuple3<>(first, second, third);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy