This repository has been archived on 2023-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
McGamerZone/commons/src/main/java/zone/themcgamer/common/Tuple.java
2021-02-19 15:11:08 -05:00

24 lines
496 B
Java

package zone.themcgamer.common;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
/**
* @author Braydon
*/
@AllArgsConstructor @Setter @Getter
public class Tuple<L, R> implements Cloneable {
private L left;
private R right;
@Override
public Tuple<L, R> clone() {
try {
return (Tuple<L, R>) super.clone();
} catch (CloneNotSupportedException ex) {
ex.printStackTrace();
}
return null;
}
}