lastUnion.setSecondInput(input1); i = 1; } else { throw new IllegalArgumentException("The input may not contain null elements."); lastUnion.setSecondInput(input2[1]); i = 2; tmpUnion.setSecondInput(lastUnion); if (input2[i] == null) { throw new IllegalArgumentException("The input may not contain null elements.");
lastUnion.setSecondInput(input1); i = 1; } else { throw new IllegalArgumentException("The input may not contain null elements."); lastUnion.setSecondInput(input2[1]); i = 2; tmpUnion.setSecondInput(lastUnion); if (input2[i] == null) { throw new IllegalArgumentException("The input may not contain null elements.");
public Union(Operator<T> input1, Operator<T> input2) { this(new BinaryOperatorInformation<T, T, T>(input1.getOperatorInfo().getOutputType(), input1.getOperatorInfo().getOutputType(), input1.getOperatorInfo().getOutputType())); setFirstInput(input1); setSecondInput(input2); } }
public Union(Operator<T> input1, Operator<T> input2) { this(new BinaryOperatorInformation<T, T, T>(input1.getOperatorInfo().getOutputType(), input1.getOperatorInfo().getOutputType(), input1.getOperatorInfo().getOutputType())); setFirstInput(input1); setSecondInput(input2); } }