Skip to content

Commit

Permalink
[FLINK-2457] [core] Integrate Tuple0
Browse files Browse the repository at this point in the history
 - extended TupleType helper classes to handle Tuple0
 - extended TupleSerializer to handle Tuple0
 - included Tuple0 into JUnit tests
 - simplified Receiver.createTuple(int)

This closes apache#983
  • Loading branch information
mjsax authored and StephanEwen committed Aug 14, 2015
1 parent 852d19c commit fab9ce5
Show file tree
Hide file tree
Showing 39 changed files with 363 additions and 152 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ public <T> T getFieldNotNull(int pos){
*/
@SuppressWarnings("unchecked")
public static Class<? extends Tuple> getTupleClass(int arity) {
if (arity < 1 || arity > MAX_ARITY) {
if (arity < 0 || arity > MAX_ARITY) {
throw new IllegalArgumentException("The tuple arity must be in [0, " + MAX_ARITY + "].");
}
return (Class<? extends Tuple>) CLASSES[arity - 1];
return (Class<? extends Tuple>) CLASSES[arity];
}

// --------------------------------------------------------------------------------------------
Expand All @@ -106,7 +106,7 @@ public static Class<? extends Tuple> getTupleClass(int arity) {
// BEGIN_OF_TUPLE_DEPENDENT_CODE
// GENERATED FROM org.apache.flink.api.java.tuple.TupleGenerator.
private static final Class<?>[] CLASSES = new Class<?>[] {
Tuple1.class, Tuple2.class, Tuple3.class, Tuple4.class, Tuple5.class, Tuple6.class, Tuple7.class, Tuple8.class, Tuple9.class, Tuple10.class, Tuple11.class, Tuple12.class, Tuple13.class, Tuple14.class, Tuple15.class, Tuple16.class, Tuple17.class, Tuple18.class, Tuple19.class, Tuple20.class, Tuple21.class, Tuple22.class, Tuple23.class, Tuple24.class, Tuple25.class
Tuple0.class, Tuple1.class, Tuple2.class, Tuple3.class, Tuple4.class, Tuple5.class, Tuple6.class, Tuple7.class, Tuple8.class, Tuple9.class, Tuple10.class, Tuple11.class, Tuple12.class, Tuple13.class, Tuple14.class, Tuple15.class, Tuple16.class, Tuple17.class, Tuple18.class, Tuple19.class, Tuple20.class, Tuple21.class, Tuple22.class, Tuple23.class, Tuple24.class, Tuple25.class
};
// END_OF_TUPLE_DEPENDENT_CODE
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,75 @@
*/
package org.apache.flink.api.java.tuple;

public class Tuple0 extends Tuple {
import java.io.ObjectStreamException;

/**
* A tuple with 0 fields.
* <p>
* {@code Tuple0} is a singleton.
*
* @see Tuple
*/
public class Tuple0 extends Tuple {
private static final long serialVersionUID = 1L;

public Tuple0() {}
public static final Tuple0 instance = new Tuple0();

@Override
public int getArity() {
return 0;
}

@Override
public <T> T getField(int pos) {
return null;
throw new IndexOutOfBoundsException(String.valueOf(pos));
}

@Override
public <T> void setField(T value, int pos) {
throw new IndexOutOfBoundsException(String.valueOf(pos));
}

// -------------------------------------------------------------------------------------------------
// standard utilities
// -------------------------------------------------------------------------------------------------

/**
* Creates a string representation of the tuple in the form "()"
*
* @return The string representation of the tuple.
*/
@Override
public String toString() {
return "()";
}

/**
* Deep equality for tuples by calling equals() on the tuple members
*
* @param o
* the object checked for equality
* @return true if this is equal to o.
*/
@Override
public int getArity() {
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (!(o instanceof Tuple0)) {
return false;
}
return true;
}

@Override
public int hashCode() {
return 0;
}

// singleton deserialization
private Object readResolve() throws ObjectStreamException {
return instance;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -402,12 +402,9 @@ private static void modifyJoinProjectOperator(File root) throws IOException {
private static void modifyTupleType(File root) throws IOException {
// generate code
StringBuilder sb = new StringBuilder();
sb.append("\tprivate static final Class<?>[] CLASSES = new Class<?>[] {\n\t\t");
sb.append("\tprivate static final Class<?>[] CLASSES = new Class<?>[] {\n\t\tTuple0.class");
for (int i = FIRST; i <= LAST; i++) {
if (i > FIRST) {
sb.append(", ");
}
sb.append("Tuple" + i + ".class");
sb.append(", Tuple" + i + ".class");
}
sb.append("\n\t};");

Expand Down Expand Up @@ -802,7 +799,7 @@ private static void writeTupleBuilderClass(PrintWriter w, int numFields) {
// package and imports
w.println("package " + PACKAGE + "." + BUILDER_SUFFIX + ';');
w.println();
w.println("import java.util.LinkedList;");
w.println("import java.util.ArrayList;");
w.println("import java.util.List;");
w.println();
w.println("import " + PACKAGE + ".Tuple" + numFields + ";");
Expand All @@ -817,7 +814,7 @@ private static void writeTupleBuilderClass(PrintWriter w, int numFields) {
// Class-Attributes - a list of tuples
w.print("\tprivate List<Tuple" + numFields);
printGenericsString(w, numFields);
w.print("> tuples = new LinkedList<Tuple" + numFields );
w.print("> tuples = new ArrayList<Tuple" + numFields );
printGenericsString(w, numFields);
w.println(">();");
w.println();
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/


// --------------------------------------------------------------
// THIS IS A GENERATED SOURCE FILE. DO NOT EDIT!
// GENERATED FROM org.apache.flink.api.java.tuple.TupleGenerator.
// --------------------------------------------------------------


package org.apache.flink.api.java.tuple.builder;

import java.util.ArrayList;
import java.util.List;

import org.apache.flink.api.java.tuple.Tuple0;

public class Tuple0Builder {

private List<Tuple0> tuples = new ArrayList<Tuple0>();

public Tuple0Builder add() {
tuples.add(Tuple0.instance);
return this;
}

public Tuple0[] build() {
return tuples.toArray(new Tuple0[tuples.size()]);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@

package org.apache.flink.api.java.tuple.builder;

import java.util.LinkedList;
import java.util.ArrayList;
import java.util.List;

import org.apache.flink.api.java.tuple.Tuple10;

public class Tuple10Builder<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> {

private List<Tuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>> tuples = new LinkedList<Tuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>>();
private List<Tuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>> tuples = new ArrayList<Tuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>>();

public Tuple10Builder<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> add(T0 value0, T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6, T7 value7, T8 value8, T9 value9){
tuples.add(new Tuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(value0, value1, value2, value3, value4, value5, value6, value7, value8, value9));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@

package org.apache.flink.api.java.tuple.builder;

import java.util.LinkedList;
import java.util.ArrayList;
import java.util.List;

import org.apache.flink.api.java.tuple.Tuple11;

public class Tuple11Builder<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> {

private List<Tuple11<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>> tuples = new LinkedList<Tuple11<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>>();
private List<Tuple11<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>> tuples = new ArrayList<Tuple11<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>>();

public Tuple11Builder<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> add(T0 value0, T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6, T7 value7, T8 value8, T9 value9, T10 value10){
tuples.add(new Tuple11<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(value0, value1, value2, value3, value4, value5, value6, value7, value8, value9, value10));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@

package org.apache.flink.api.java.tuple.builder;

import java.util.LinkedList;
import java.util.ArrayList;
import java.util.List;

import org.apache.flink.api.java.tuple.Tuple12;

public class Tuple12Builder<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> {

private List<Tuple12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>> tuples = new LinkedList<Tuple12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>>();
private List<Tuple12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>> tuples = new ArrayList<Tuple12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>>();

public Tuple12Builder<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> add(T0 value0, T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6, T7 value7, T8 value8, T9 value9, T10 value10, T11 value11){
tuples.add(new Tuple12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(value0, value1, value2, value3, value4, value5, value6, value7, value8, value9, value10, value11));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@

package org.apache.flink.api.java.tuple.builder;

import java.util.LinkedList;
import java.util.ArrayList;
import java.util.List;

import org.apache.flink.api.java.tuple.Tuple13;

public class Tuple13Builder<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> {

private List<Tuple13<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>> tuples = new LinkedList<Tuple13<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>>();
private List<Tuple13<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>> tuples = new ArrayList<Tuple13<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>>();

public Tuple13Builder<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> add(T0 value0, T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6, T7 value7, T8 value8, T9 value9, T10 value10, T11 value11, T12 value12){
tuples.add(new Tuple13<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(value0, value1, value2, value3, value4, value5, value6, value7, value8, value9, value10, value11, value12));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@

package org.apache.flink.api.java.tuple.builder;

import java.util.LinkedList;
import java.util.ArrayList;
import java.util.List;

import org.apache.flink.api.java.tuple.Tuple14;

public class Tuple14Builder<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> {

private List<Tuple14<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>> tuples = new LinkedList<Tuple14<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>>();
private List<Tuple14<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>> tuples = new ArrayList<Tuple14<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>>();

public Tuple14Builder<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> add(T0 value0, T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6, T7 value7, T8 value8, T9 value9, T10 value10, T11 value11, T12 value12, T13 value13){
tuples.add(new Tuple14<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(value0, value1, value2, value3, value4, value5, value6, value7, value8, value9, value10, value11, value12, value13));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@

package org.apache.flink.api.java.tuple.builder;

import java.util.LinkedList;
import java.util.ArrayList;
import java.util.List;

import org.apache.flink.api.java.tuple.Tuple15;

public class Tuple15Builder<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> {

private List<Tuple15<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>> tuples = new LinkedList<Tuple15<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>>();
private List<Tuple15<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>> tuples = new ArrayList<Tuple15<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>>();

public Tuple15Builder<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> add(T0 value0, T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6, T7 value7, T8 value8, T9 value9, T10 value10, T11 value11, T12 value12, T13 value13, T14 value14){
tuples.add(new Tuple15<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(value0, value1, value2, value3, value4, value5, value6, value7, value8, value9, value10, value11, value12, value13, value14));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@

package org.apache.flink.api.java.tuple.builder;

import java.util.LinkedList;
import java.util.ArrayList;
import java.util.List;

import org.apache.flink.api.java.tuple.Tuple16;

public class Tuple16Builder<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> {

private List<Tuple16<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>> tuples = new LinkedList<Tuple16<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>>();
private List<Tuple16<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>> tuples = new ArrayList<Tuple16<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>>();

public Tuple16Builder<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> add(T0 value0, T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6, T7 value7, T8 value8, T9 value9, T10 value10, T11 value11, T12 value12, T13 value13, T14 value14, T15 value15){
tuples.add(new Tuple16<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(value0, value1, value2, value3, value4, value5, value6, value7, value8, value9, value10, value11, value12, value13, value14, value15));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@

package org.apache.flink.api.java.tuple.builder;

import java.util.LinkedList;
import java.util.ArrayList;
import java.util.List;

import org.apache.flink.api.java.tuple.Tuple17;

public class Tuple17Builder<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> {

private List<Tuple17<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>> tuples = new LinkedList<Tuple17<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>>();
private List<Tuple17<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>> tuples = new ArrayList<Tuple17<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>>();

public Tuple17Builder<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> add(T0 value0, T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6, T7 value7, T8 value8, T9 value9, T10 value10, T11 value11, T12 value12, T13 value13, T14 value14, T15 value15, T16 value16){
tuples.add(new Tuple17<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(value0, value1, value2, value3, value4, value5, value6, value7, value8, value9, value10, value11, value12, value13, value14, value15, value16));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@

package org.apache.flink.api.java.tuple.builder;

import java.util.LinkedList;
import java.util.ArrayList;
import java.util.List;

import org.apache.flink.api.java.tuple.Tuple18;

public class Tuple18Builder<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17> {

private List<Tuple18<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17>> tuples = new LinkedList<Tuple18<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17>>();
private List<Tuple18<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17>> tuples = new ArrayList<Tuple18<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17>>();

public Tuple18Builder<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17> add(T0 value0, T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6, T7 value7, T8 value8, T9 value9, T10 value10, T11 value11, T12 value12, T13 value13, T14 value14, T15 value15, T16 value16, T17 value17){
tuples.add(new Tuple18<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17>(value0, value1, value2, value3, value4, value5, value6, value7, value8, value9, value10, value11, value12, value13, value14, value15, value16, value17));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@

package org.apache.flink.api.java.tuple.builder;

import java.util.LinkedList;
import java.util.ArrayList;
import java.util.List;

import org.apache.flink.api.java.tuple.Tuple19;

public class Tuple19Builder<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18> {

private List<Tuple19<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18>> tuples = new LinkedList<Tuple19<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18>>();
private List<Tuple19<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18>> tuples = new ArrayList<Tuple19<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18>>();

public Tuple19Builder<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18> add(T0 value0, T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6, T7 value7, T8 value8, T9 value9, T10 value10, T11 value11, T12 value12, T13 value13, T14 value14, T15 value15, T16 value16, T17 value17, T18 value18){
tuples.add(new Tuple19<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18>(value0, value1, value2, value3, value4, value5, value6, value7, value8, value9, value10, value11, value12, value13, value14, value15, value16, value17, value18));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@

package org.apache.flink.api.java.tuple.builder;

import java.util.LinkedList;
import java.util.ArrayList;
import java.util.List;

import org.apache.flink.api.java.tuple.Tuple1;

public class Tuple1Builder<T0> {

private List<Tuple1<T0>> tuples = new LinkedList<Tuple1<T0>>();
private List<Tuple1<T0>> tuples = new ArrayList<Tuple1<T0>>();

public Tuple1Builder<T0> add(T0 value0){
tuples.add(new Tuple1<T0>(value0));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@

package org.apache.flink.api.java.tuple.builder;

import java.util.LinkedList;
import java.util.ArrayList;
import java.util.List;

import org.apache.flink.api.java.tuple.Tuple20;

public class Tuple20Builder<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19> {

private List<Tuple20<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>> tuples = new LinkedList<Tuple20<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>>();
private List<Tuple20<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>> tuples = new ArrayList<Tuple20<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>>();

public Tuple20Builder<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19> add(T0 value0, T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6, T7 value7, T8 value8, T9 value9, T10 value10, T11 value11, T12 value12, T13 value13, T14 value14, T15 value15, T16 value16, T17 value17, T18 value18, T19 value19){
tuples.add(new Tuple20<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>(value0, value1, value2, value3, value4, value5, value6, value7, value8, value9, value10, value11, value12, value13, value14, value15, value16, value17, value18, value19));
Expand Down
Loading

0 comments on commit fab9ce5

Please sign in to comment.