You can change this to having only one generic parameter:

`public class UnionOperator<T> extends TwoInputOperator<T, T, T, UnionOperator<T>>`