com.speedment.common.tuple.TuplesOfNullables Maven / Gradle / Ivy
Show all versions of runtime-deploy Show documentation
/**
*
* Copyright (c) 2006-2019, Speedment, Inc. All Rights Reserved.
*
* Licensed 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.
*/
package com.speedment.common.tuple;
import com.speedment.common.tuple.internal.TupleInfiniteDegreeOfNullablesImpl;
import com.speedment.common.tuple.internal.nullable.Tuple0OfNullablesImpl;
import com.speedment.common.tuple.internal.nullable.Tuple10OfNullablesImpl;
import com.speedment.common.tuple.internal.nullable.Tuple11OfNullablesImpl;
import com.speedment.common.tuple.internal.nullable.Tuple12OfNullablesImpl;
import com.speedment.common.tuple.internal.nullable.Tuple13OfNullablesImpl;
import com.speedment.common.tuple.internal.nullable.Tuple14OfNullablesImpl;
import com.speedment.common.tuple.internal.nullable.Tuple15OfNullablesImpl;
import com.speedment.common.tuple.internal.nullable.Tuple16OfNullablesImpl;
import com.speedment.common.tuple.internal.nullable.Tuple17OfNullablesImpl;
import com.speedment.common.tuple.internal.nullable.Tuple18OfNullablesImpl;
import com.speedment.common.tuple.internal.nullable.Tuple19OfNullablesImpl;
import com.speedment.common.tuple.internal.nullable.Tuple1OfNullablesImpl;
import com.speedment.common.tuple.internal.nullable.Tuple20OfNullablesImpl;
import com.speedment.common.tuple.internal.nullable.Tuple21OfNullablesImpl;
import com.speedment.common.tuple.internal.nullable.Tuple22OfNullablesImpl;
import com.speedment.common.tuple.internal.nullable.Tuple23OfNullablesImpl;
import com.speedment.common.tuple.internal.nullable.Tuple2OfNullablesImpl;
import com.speedment.common.tuple.internal.nullable.Tuple3OfNullablesImpl;
import com.speedment.common.tuple.internal.nullable.Tuple4OfNullablesImpl;
import com.speedment.common.tuple.internal.nullable.Tuple5OfNullablesImpl;
import com.speedment.common.tuple.internal.nullable.Tuple6OfNullablesImpl;
import com.speedment.common.tuple.internal.nullable.Tuple7OfNullablesImpl;
import com.speedment.common.tuple.internal.nullable.Tuple8OfNullablesImpl;
import com.speedment.common.tuple.internal.nullable.Tuple9OfNullablesImpl;
import com.speedment.common.tuple.internal.nullable.mapper.Tuple0OfNullablesMapperImpl;
import com.speedment.common.tuple.internal.nullable.mapper.Tuple10OfNullablesMapperImpl;
import com.speedment.common.tuple.internal.nullable.mapper.Tuple11OfNullablesMapperImpl;
import com.speedment.common.tuple.internal.nullable.mapper.Tuple12OfNullablesMapperImpl;
import com.speedment.common.tuple.internal.nullable.mapper.Tuple13OfNullablesMapperImpl;
import com.speedment.common.tuple.internal.nullable.mapper.Tuple14OfNullablesMapperImpl;
import com.speedment.common.tuple.internal.nullable.mapper.Tuple15OfNullablesMapperImpl;
import com.speedment.common.tuple.internal.nullable.mapper.Tuple16OfNullablesMapperImpl;
import com.speedment.common.tuple.internal.nullable.mapper.Tuple17OfNullablesMapperImpl;
import com.speedment.common.tuple.internal.nullable.mapper.Tuple18OfNullablesMapperImpl;
import com.speedment.common.tuple.internal.nullable.mapper.Tuple19OfNullablesMapperImpl;
import com.speedment.common.tuple.internal.nullable.mapper.Tuple1OfNullablesMapperImpl;
import com.speedment.common.tuple.internal.nullable.mapper.Tuple20OfNullablesMapperImpl;
import com.speedment.common.tuple.internal.nullable.mapper.Tuple21OfNullablesMapperImpl;
import com.speedment.common.tuple.internal.nullable.mapper.Tuple22OfNullablesMapperImpl;
import com.speedment.common.tuple.internal.nullable.mapper.Tuple23OfNullablesMapperImpl;
import com.speedment.common.tuple.internal.nullable.mapper.Tuple2OfNullablesMapperImpl;
import com.speedment.common.tuple.internal.nullable.mapper.Tuple3OfNullablesMapperImpl;
import com.speedment.common.tuple.internal.nullable.mapper.Tuple4OfNullablesMapperImpl;
import com.speedment.common.tuple.internal.nullable.mapper.Tuple5OfNullablesMapperImpl;
import com.speedment.common.tuple.internal.nullable.mapper.Tuple6OfNullablesMapperImpl;
import com.speedment.common.tuple.internal.nullable.mapper.Tuple7OfNullablesMapperImpl;
import com.speedment.common.tuple.internal.nullable.mapper.Tuple8OfNullablesMapperImpl;
import com.speedment.common.tuple.internal.nullable.mapper.Tuple9OfNullablesMapperImpl;
import com.speedment.common.tuple.nullable.Tuple0OfNullables;
import com.speedment.common.tuple.nullable.Tuple10OfNullables;
import com.speedment.common.tuple.nullable.Tuple11OfNullables;
import com.speedment.common.tuple.nullable.Tuple12OfNullables;
import com.speedment.common.tuple.nullable.Tuple13OfNullables;
import com.speedment.common.tuple.nullable.Tuple14OfNullables;
import com.speedment.common.tuple.nullable.Tuple15OfNullables;
import com.speedment.common.tuple.nullable.Tuple16OfNullables;
import com.speedment.common.tuple.nullable.Tuple17OfNullables;
import com.speedment.common.tuple.nullable.Tuple18OfNullables;
import com.speedment.common.tuple.nullable.Tuple19OfNullables;
import com.speedment.common.tuple.nullable.Tuple1OfNullables;
import com.speedment.common.tuple.nullable.Tuple20OfNullables;
import com.speedment.common.tuple.nullable.Tuple21OfNullables;
import com.speedment.common.tuple.nullable.Tuple22OfNullables;
import com.speedment.common.tuple.nullable.Tuple23OfNullables;
import com.speedment.common.tuple.nullable.Tuple2OfNullables;
import com.speedment.common.tuple.nullable.Tuple3OfNullables;
import com.speedment.common.tuple.nullable.Tuple4OfNullables;
import com.speedment.common.tuple.nullable.Tuple5OfNullables;
import com.speedment.common.tuple.nullable.Tuple6OfNullables;
import com.speedment.common.tuple.nullable.Tuple7OfNullables;
import com.speedment.common.tuple.nullable.Tuple8OfNullables;
import com.speedment.common.tuple.nullable.Tuple9OfNullables;
import java.util.function.Function;
/**
* A collection of static methods to produce different types of {@link
* TupleOfNullables} objects.
*
* Generated by com.speedment.sources.pattern.tuple.TuplesOfNullablesPattern
*
* @author Per Minborg
*/
public final class TuplesOfNullables {
private TuplesOfNullables() {
throw new UnsupportedOperationException();
}
/**
* Creates and returns a new {@link Tuple0OfNullables} with the given
* parameters.
*
* @return a new {@link Tuple0OfNullables} with the given parameters.
*
* @see Tuple0
* @see Tuple
*/
public static Tuple0OfNullables ofNullables() {
return Tuple0OfNullablesImpl.EMPTY_TUPLE;
}
/**
* Creates and returns a Function that, when applied, creates a {@link
* Tuple0OfNullables} from an initial object of type T by applying the given
* mappers.
*
* @param type of the initial object to be used by the function to
* create a {@link Tuple0 }
* @return a Function that, when applied, creates a {@link Tuple0} from
* an initial object of type T by applying the given mappers.
*
* @see Tuple0
* @see Tuple
*/
@SuppressWarnings("unchecked")
public static Function toTupleOfNullables() {
return (Function) Tuple0OfNullablesMapperImpl.EMPTY_MAPPER;
}
/**
* Creates and returns a new {@link Tuple1OfNullables} with the given
* parameters.
*
* @param type of element 0
* @param e0 element 0
* @return a new {@link Tuple1OfNullables} with the given parameters.
*
* @see Tuple1
* @see Tuple
*/
public static Tuple1OfNullables ofNullables(T0 e0) {
return new Tuple1OfNullablesImpl<>(e0);
}
/**
* Creates and returns a Function that, when applied, creates a {@link
* Tuple1OfNullables} from an initial object of type T by applying the given
* mappers.
*
* @param type of the initial object to be used by the function to
* create a {@link Tuple1 }
* @param target type of m0
* @param m0 mapper to apply for Tuple1's element 0
* @return a Function that, when applied, creates a {@link Tuple1} from
* an initial object of type T by applying the given mappers.
*
* @see Tuple1
* @see Tuple
*/
public static Function> toTupleOfNullables(Function m0) {
return new Tuple1OfNullablesMapperImpl<>(m0);
}
/**
* Creates and returns a new {@link Tuple2OfNullables} with the given
* parameters.
*
* @param type of element 0
* @param type of element 1
* @param e0 element 0
* @param e1 element 1
* @return a new {@link Tuple2OfNullables} with the given parameters.
*
* @see Tuple2
* @see Tuple
*/
public static Tuple2OfNullables ofNullables(T0 e0, T1 e1) {
return new Tuple2OfNullablesImpl<>(e0, e1);
}
/**
* Creates and returns a Function that, when applied, creates a {@link
* Tuple2OfNullables} from an initial object of type T by applying the given
* mappers.
*
* @param type of the initial object to be used by the function to
* create a {@link Tuple2 }
* @param target type of m0
* @param target type of m1
* @param m0 mapper to apply for Tuple2's element 0
* @param m1 mapper to apply for Tuple2's element 1
* @return a Function that, when applied, creates a {@link Tuple2} from
* an initial object of type T by applying the given mappers.
*
* @see Tuple2
* @see Tuple
*/
public static Function> toTupleOfNullables(Function m0, Function m1) {
return new Tuple2OfNullablesMapperImpl<>(m0, m1);
}
/**
* Creates and returns a new {@link Tuple3OfNullables} with the given
* parameters.
*
* @param type of element 0
* @param type of element 1
* @param type of element 2
* @param e0 element 0
* @param e1 element 1
* @param e2 element 2
* @return a new {@link Tuple3OfNullables} with the given parameters.
*
* @see Tuple3
* @see Tuple
*/
public static Tuple3OfNullables ofNullables(
T0 e0,
T1 e1,
T2 e2) {
return new Tuple3OfNullablesImpl<>(e0, e1, e2);
}
/**
* Creates and returns a Function that, when applied, creates a {@link
* Tuple3OfNullables} from an initial object of type T by applying the given
* mappers.
*
* @param type of the initial object to be used by the function to
* create a {@link Tuple3 }
* @param target type of m0
* @param target type of m1
* @param target type of m2
* @param m0 mapper to apply for Tuple3's element 0
* @param m1 mapper to apply for Tuple3's element 1
* @param m2 mapper to apply for Tuple3's element 2
* @return a Function that, when applied, creates a {@link Tuple3} from
* an initial object of type T by applying the given mappers.
*
* @see Tuple3
* @see Tuple
*/
public static Function> toTupleOfNullables(
Function m0,
Function m1,
Function m2) {
return new Tuple3OfNullablesMapperImpl<>(m0, m1, m2);
}
/**
* Creates and returns a new {@link Tuple4OfNullables} with the given
* parameters.
*
* @param type of element 0
* @param type of element 1
* @param type of element 2
* @param type of element 3
* @param e0 element 0
* @param e1 element 1
* @param e2 element 2
* @param e3 element 3
* @return a new {@link Tuple4OfNullables} with the given parameters.
*
* @see Tuple4
* @see Tuple
*/
public static Tuple4OfNullables ofNullables(
T0 e0,
T1 e1,
T2 e2,
T3 e3) {
return new Tuple4OfNullablesImpl<>(e0, e1, e2, e3);
}
/**
* Creates and returns a Function that, when applied, creates a {@link
* Tuple4OfNullables} from an initial object of type T by applying the given
* mappers.
*
* @param type of the initial object to be used by the function to
* create a {@link Tuple4 }
* @param target type of m0
* @param target type of m1
* @param target type of m2
* @param target type of m3
* @param m0 mapper to apply for Tuple4's element 0
* @param m1 mapper to apply for Tuple4's element 1
* @param m2 mapper to apply for Tuple4's element 2
* @param m3 mapper to apply for Tuple4's element 3
* @return a Function that, when applied, creates a {@link Tuple4} from
* an initial object of type T by applying the given mappers.
*
* @see Tuple4
* @see Tuple
*/
public static Function> toTupleOfNullables(
Function m0,
Function m1,
Function m2,
Function m3) {
return new Tuple4OfNullablesMapperImpl<>(m0, m1, m2, m3);
}
/**
* Creates and returns a new {@link Tuple5OfNullables} with the given
* parameters.
*
* @param type of element 0
* @param type of element 1
* @param type of element 2
* @param type of element 3
* @param type of element 4
* @param e0 element 0
* @param e1 element 1
* @param e2 element 2
* @param e3 element 3
* @param e4 element 4
* @return a new {@link Tuple5OfNullables} with the given parameters.
*
* @see Tuple5
* @see Tuple
*/
public static Tuple5OfNullables ofNullables(
T0 e0,
T1 e1,
T2 e2,
T3 e3,
T4 e4) {
return new Tuple5OfNullablesImpl<>(e0, e1, e2, e3, e4);
}
/**
* Creates and returns a Function that, when applied, creates a {@link
* Tuple5OfNullables} from an initial object of type T by applying the given
* mappers.
*
* @param type of the initial object to be used by the function to
* create a {@link Tuple5 }
* @param target type of m0
* @param target type of m1
* @param target type of m2
* @param target type of m3
* @param target type of m4
* @param m0 mapper to apply for Tuple5's element 0
* @param m1 mapper to apply for Tuple5's element 1
* @param m2 mapper to apply for Tuple5's element 2
* @param m3 mapper to apply for Tuple5's element 3
* @param m4 mapper to apply for Tuple5's element 4
* @return a Function that, when applied, creates a {@link Tuple5} from
* an initial object of type T by applying the given mappers.
*
* @see Tuple5
* @see Tuple
*/
public static Function> toTupleOfNullables(
Function m0,
Function m1,
Function m2,
Function m3,
Function m4) {
return new Tuple5OfNullablesMapperImpl<>(m0, m1, m2, m3, m4);
}
/**
* Creates and returns a new {@link Tuple6OfNullables} with the given
* parameters.
*
* @param type of element 0
* @param type of element 1
* @param type of element 2
* @param type of element 3
* @param type of element 4
* @param type of element 5
* @param e0 element 0
* @param e1 element 1
* @param e2 element 2
* @param e3 element 3
* @param e4 element 4
* @param e5 element 5
* @return a new {@link Tuple6OfNullables} with the given parameters.
*
* @see Tuple6
* @see Tuple
*/
public static Tuple6OfNullables ofNullables(
T0 e0,
T1 e1,
T2 e2,
T3 e3,
T4 e4,
T5 e5) {
return new Tuple6OfNullablesImpl<>(e0, e1, e2, e3, e4, e5);
}
/**
* Creates and returns a Function that, when applied, creates a {@link
* Tuple6OfNullables} from an initial object of type T by applying the given
* mappers.
*
* @param type of the initial object to be used by the function to
* create a {@link Tuple6 }
* @param target type of m0
* @param target type of m1
* @param target type of m2
* @param target type of m3
* @param target type of m4
* @param target type of m5
* @param m0 mapper to apply for Tuple6's element 0
* @param m1 mapper to apply for Tuple6's element 1
* @param m2 mapper to apply for Tuple6's element 2
* @param m3 mapper to apply for Tuple6's element 3
* @param m4 mapper to apply for Tuple6's element 4
* @param m5 mapper to apply for Tuple6's element 5
* @return a Function that, when applied, creates a {@link Tuple6} from
* an initial object of type T by applying the given mappers.
*
* @see Tuple6
* @see Tuple
*/
public static Function> toTupleOfNullables(
Function m0,
Function m1,
Function m2,
Function m3,
Function m4,
Function m5) {
return new Tuple6OfNullablesMapperImpl<>(m0, m1, m2, m3, m4, m5);
}
/**
* Creates and returns a new {@link Tuple7OfNullables} with the given
* parameters.
*
* @param type of element 0
* @param type of element 1
* @param type of element 2
* @param type of element 3
* @param type of element 4
* @param type of element 5
* @param type of element 6
* @param e0 element 0
* @param e1 element 1
* @param e2 element 2
* @param e3 element 3
* @param e4 element 4
* @param e5 element 5
* @param e6 element 6
* @return a new {@link Tuple7OfNullables} with the given parameters.
*
* @see Tuple7
* @see Tuple
*/
public static Tuple7OfNullables ofNullables(
T0 e0,
T1 e1,
T2 e2,
T3 e3,
T4 e4,
T5 e5,
T6 e6) {
return new Tuple7OfNullablesImpl<>(e0, e1, e2, e3, e4, e5, e6);
}
/**
* Creates and returns a Function that, when applied, creates a {@link
* Tuple7OfNullables} from an initial object of type T by applying the given
* mappers.
*
* @param type of the initial object to be used by the function to
* create a {@link Tuple7 }
* @param target type of m0
* @param target type of m1
* @param target type of m2
* @param target type of m3
* @param target type of m4
* @param target type of m5
* @param target type of m6
* @param m0 mapper to apply for Tuple7's element 0
* @param m1 mapper to apply for Tuple7's element 1
* @param m2 mapper to apply for Tuple7's element 2
* @param m3 mapper to apply for Tuple7's element 3
* @param m4 mapper to apply for Tuple7's element 4
* @param m5 mapper to apply for Tuple7's element 5
* @param m6 mapper to apply for Tuple7's element 6
* @return a Function that, when applied, creates a {@link Tuple7} from
* an initial object of type T by applying the given mappers.
*
* @see Tuple7
* @see Tuple
*/
public static Function> toTupleOfNullables(
Function m0,
Function m1,
Function m2,
Function m3,
Function m4,
Function m5,
Function m6) {
return new Tuple7OfNullablesMapperImpl<>(m0, m1, m2, m3, m4, m5, m6);
}
/**
* Creates and returns a new {@link Tuple8OfNullables} with the given
* parameters.
*
* @param type of element 0
* @param type of element 1
* @param type of element 2
* @param type of element 3
* @param type of element 4
* @param type of element 5
* @param type of element 6
* @param type of element 7
* @param e0 element 0
* @param e1 element 1
* @param e2 element 2
* @param e3 element 3
* @param e4 element 4
* @param e5 element 5
* @param e6 element 6
* @param e7 element 7
* @return a new {@link Tuple8OfNullables} with the given parameters.
*
* @see Tuple8
* @see Tuple
*/
public static Tuple8OfNullables ofNullables(
T0 e0,
T1 e1,
T2 e2,
T3 e3,
T4 e4,
T5 e5,
T6 e6,
T7 e7) {
return new Tuple8OfNullablesImpl<>(e0, e1, e2, e3, e4, e5, e6, e7);
}
/**
* Creates and returns a Function that, when applied, creates a {@link
* Tuple8OfNullables} from an initial object of type T by applying the given
* mappers.
*
* @param type of the initial object to be used by the function to
* create a {@link Tuple8 }
* @param target type of m0
* @param target type of m1
* @param target type of m2
* @param target type of m3
* @param target type of m4
* @param target type of m5
* @param target type of m6
* @param target type of m7
* @param m0 mapper to apply for Tuple8's element 0
* @param m1 mapper to apply for Tuple8's element 1
* @param m2 mapper to apply for Tuple8's element 2
* @param m3 mapper to apply for Tuple8's element 3
* @param m4 mapper to apply for Tuple8's element 4
* @param m5 mapper to apply for Tuple8's element 5
* @param m6 mapper to apply for Tuple8's element 6
* @param m7 mapper to apply for Tuple8's element 7
* @return a Function that, when applied, creates a {@link Tuple8} from
* an initial object of type T by applying the given mappers.
*
* @see Tuple8
* @see Tuple
*/
public static Function> toTupleOfNullables(
Function m0,
Function m1,
Function m2,
Function m3,
Function m4,
Function m5,
Function m6,
Function m7) {
return new Tuple8OfNullablesMapperImpl<>(m0, m1, m2, m3, m4, m5, m6, m7);
}
/**
* Creates and returns a new {@link Tuple9OfNullables} with the given
* parameters.
*
* @param type of element 0
* @param type of element 1
* @param type of element 2
* @param type of element 3
* @param type of element 4
* @param type of element 5
* @param type of element 6
* @param type of element 7
* @param type of element 8
* @param e0 element 0
* @param e1 element 1
* @param e2 element 2
* @param e3 element 3
* @param e4 element 4
* @param e5 element 5
* @param e6 element 6
* @param e7 element 7
* @param e8 element 8
* @return a new {@link Tuple9OfNullables} with the given parameters.
*
* @see Tuple9
* @see Tuple
*/
public static Tuple9OfNullables ofNullables(
T0 e0,
T1 e1,
T2 e2,
T3 e3,
T4 e4,
T5 e5,
T6 e6,
T7 e7,
T8 e8) {
return new Tuple9OfNullablesImpl<>(e0, e1, e2, e3, e4, e5, e6, e7, e8);
}
/**
* Creates and returns a Function that, when applied, creates a {@link
* Tuple9OfNullables} from an initial object of type T by applying the given
* mappers.
*
* @param type of the initial object to be used by the function to
* create a {@link Tuple9 }
* @param target type of m0
* @param target type of m1
* @param target type of m2
* @param target type of m3
* @param target type of m4
* @param target type of m5
* @param target type of m6
* @param target type of m7
* @param target type of m8
* @param m0 mapper to apply for Tuple9's element 0
* @param m1 mapper to apply for Tuple9's element 1
* @param m2 mapper to apply for Tuple9's element 2
* @param m3 mapper to apply for Tuple9's element 3
* @param m4 mapper to apply for Tuple9's element 4
* @param m5 mapper to apply for Tuple9's element 5
* @param m6 mapper to apply for Tuple9's element 6
* @param m7 mapper to apply for Tuple9's element 7
* @param m8 mapper to apply for Tuple9's element 8
* @return a Function that, when applied, creates a {@link Tuple9} from
* an initial object of type T by applying the given mappers.
*
* @see Tuple9
* @see Tuple
*/
public static Function> toTupleOfNullables(
Function m0,
Function m1,
Function m2,
Function m3,
Function m4,
Function m5,
Function m6,
Function m7,
Function m8) {
return new Tuple9OfNullablesMapperImpl<>(m0, m1, m2, m3, m4, m5, m6, m7, m8);
}
/**
* Creates and returns a new {@link Tuple10OfNullables} with the given
* parameters.
*
* @param type of element 0
* @param type of element 1
* @param type of element 2
* @param type of element 3
* @param type of element 4
* @param type of element 5
* @param type of element 6
* @param type of element 7
* @param type of element 8
* @param type of element 9
* @param e0 element 0
* @param e1 element 1
* @param e2 element 2
* @param e3 element 3
* @param e4 element 4
* @param e5 element 5
* @param e6 element 6
* @param e7 element 7
* @param e8 element 8
* @param e9 element 9
* @return a new {@link Tuple10OfNullables} with the given parameters.
*
* @see Tuple10
* @see Tuple
*/
public static Tuple10OfNullables ofNullables(
T0 e0,
T1 e1,
T2 e2,
T3 e3,
T4 e4,
T5 e5,
T6 e6,
T7 e7,
T8 e8,
T9 e9) {
return new Tuple10OfNullablesImpl<>(e0, e1, e2, e3, e4, e5, e6, e7, e8, e9);
}
/**
* Creates and returns a Function that, when applied, creates a {@link
* Tuple10OfNullables} from an initial object of type T by applying the
* given mappers.
*
* @param type of the initial object to be used by the function to
* create a {@link Tuple10 }
* @param target type of m0
* @param target type of m1
* @param target type of m2
* @param target type of m3
* @param target type of m4
* @param target type of m5
* @param target type of m6
* @param target type of m7
* @param target type of m8
* @param target type of m9
* @param m0 mapper to apply for Tuple10's element 0
* @param m1 mapper to apply for Tuple10's element 1
* @param m2 mapper to apply for Tuple10's element 2
* @param m3 mapper to apply for Tuple10's element 3
* @param m4 mapper to apply for Tuple10's element 4
* @param m5 mapper to apply for Tuple10's element 5
* @param m6 mapper to apply for Tuple10's element 6
* @param m7 mapper to apply for Tuple10's element 7
* @param m8 mapper to apply for Tuple10's element 8
* @param m9 mapper to apply for Tuple10's element 9
* @return a Function that, when applied, creates a {@link Tuple10} from
* an initial object of type T by applying the given mappers.
*
* @see Tuple10
* @see Tuple
*/
public static Function> toTupleOfNullables(
Function m0,
Function m1,
Function m2,
Function m3,
Function m4,
Function m5,
Function m6,
Function m7,
Function m8,
Function m9) {
return new Tuple10OfNullablesMapperImpl<>(m0, m1, m2, m3, m4, m5, m6, m7, m8, m9);
}
/**
* Creates and returns a new {@link Tuple11OfNullables} with the given
* parameters.
*
* @param type of element 0
* @param type of element 1
* @param type of element 2
* @param type of element 3
* @param type of element 4
* @param type of element 5
* @param type of element 6
* @param type of element 7
* @param type of element 8
* @param type of element 9
* @param type of element 10
* @param e0 element 0
* @param e1 element 1
* @param e2 element 2
* @param e3 element 3
* @param e4 element 4
* @param e5 element 5
* @param e6 element 6
* @param e7 element 7
* @param e8 element 8
* @param e9 element 9
* @param e10 element 10
* @return a new {@link Tuple11OfNullables} with the given parameters.
*
* @see Tuple11
* @see Tuple
*/
public static Tuple11OfNullables ofNullables(
T0 e0,
T1 e1,
T2 e2,
T3 e3,
T4 e4,
T5 e5,
T6 e6,
T7 e7,
T8 e8,
T9 e9,
T10 e10) {
return new Tuple11OfNullablesImpl<>(e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, e10);
}
/**
* Creates and returns a Function that, when applied, creates a {@link
* Tuple11OfNullables} from an initial object of type T by applying the
* given mappers.
*
* @param type of the initial object to be used by the function to
* create a {@link Tuple11 }
* @param target type of m0
* @param target type of m1
* @param target type of m2
* @param target type of m3
* @param target type of m4
* @param target type of m5
* @param target type of m6
* @param target type of m7
* @param target type of m8
* @param target type of m9
* @param target type of m10
* @param m0 mapper to apply for Tuple11's element 0
* @param m1 mapper to apply for Tuple11's element 1
* @param m2 mapper to apply for Tuple11's element 2
* @param m3 mapper to apply for Tuple11's element 3
* @param m4 mapper to apply for Tuple11's element 4
* @param m5 mapper to apply for Tuple11's element 5
* @param m6 mapper to apply for Tuple11's element 6
* @param m7 mapper to apply for Tuple11's element 7
* @param m8 mapper to apply for Tuple11's element 8
* @param m9 mapper to apply for Tuple11's element 9
* @param m10 mapper to apply for Tuple11's element 10
* @return a Function that, when applied, creates a {@link Tuple11}
* from an initial object of type T by applying the given
* mappers.
*
* @see Tuple11
* @see Tuple
*/
public static Function> toTupleOfNullables(
Function m0,
Function m1,
Function m2,
Function m3,
Function