com.aol.cyclops.lambda.tuple.TupleImpl Maven / Gradle / Ivy
package com.aol.cyclops.lambda.tuple;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.OptionalInt;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.experimental.Wither;
import com.aol.cyclops.lambda.api.TupleWrapper;
/**
* Iteroperability class for different Tuple implementation - wrap in Tuple of appropriate arity
*
* @author johnmcclean
*
* @param
* @param
* @param
* @param
* @param
* @param
*/
@AllArgsConstructor(access=AccessLevel.PRIVATE)
public class TupleImpl implements PTuple8{
@Getter
private final Object instance;
@Getter
private final List