public <X0,X1> Decade<A,B,X0,X1,C,D,E,F,G,H> addAt2(final X0 value0, final X1 value1) { return new Decade<A,B,X0,X1,C,D,E,F,G,H>( this.val0, this.val1, value0, value1, this.val2, this.val3, this.val4, this.val5, this.val6, this.val7); }
/** * <p> * Create tuple from collection. Collection has to have exactly ten elements. * </p> * * @param <X> the collection component type * @param collection the collection to be converted to a tuple * @return the tuple */ public static <X> Decade<X,X,X,X,X,X,X,X,X,X> fromCollection(final Collection<X> collection) { return fromIterable(collection); }
public <X0,X1> Decade<A,B,C,D,E,F,X0,X1,G,H> addAt6(final X0 value0, final X1 value1) { return new Decade<A,B,C,D,E,F,X0,X1,G,H>( this.val0, this.val1, this.val2, this.val3, this.val4, this.val5, value0, value1, this.val6, this.val7); }
/** * <p> * Create tuple from iterable. Iterable has to have exactly ten elements. * </p> * * @param <X> the iterable component type * @param iterable the iterable to be converted to a tuple * @return the tuple */ public static <X> Decade<X,X,X,X,X,X,X,X,X,X> fromIterable(final Iterable<X> iterable) { return fromIterable(iterable, 0, true); }
public <X0> Decade<X0,A,B,C,D,E,F,G,H,I> addAt0(final X0 value0) { return new Decade<X0,A,B,C,D,E,F,G,H,I>( value0, this.val0, this.val1, this.val2, this.val3, this.val4, this.val5, this.val6, this.val7, this.val8); }
/** * <p> * Create tuple from iterable. Iterable has to have exactly ten elements. * </p> * * @param <X> the iterable component type * @param iterable the iterable to be converted to a tuple * @return the tuple */ public static <X> Decade<X,X,X,X,X,X,X,X,X,X> fromIterable(final Iterable<X> iterable) { return fromIterable(iterable, 0, true); }
public <X0> Decade<A,X0,B,C,D,E,F,G,H,I> addAt1(final X0 value0) { return new Decade<A,X0,B,C,D,E,F,G,H,I>( this.val0, value0, this.val1, this.val2, this.val3, this.val4, this.val5, this.val6, this.val7, this.val8); }
/** * <p> * Create tuple from collection. Collection has to have exactly ten elements. * </p> * * @param <X> the collection component type * @param collection the collection to be converted to a tuple * @return the tuple */ public static <X> Decade<X,X,X,X,X,X,X,X,X,X> fromCollection(final Collection<X> collection) { return fromIterable(collection); }
public <X0> Decade<A,B,C,D,X0,E,F,G,H,I> addAt4(final X0 value0) { return new Decade<A,B,C,D,X0,E,F,G,H,I>( this.val0, this.val1, this.val2, this.val3, value0, this.val4, this.val5, this.val6, this.val7, this.val8); }
/** * <p> * Create tuple from iterable, starting from the specified index. Iterable * can have more (or less) elements than the tuple to be created. * </p> * * @param <X> the iterable component type * @param iterable the iterable to be converted to a tuple * @return the tuple */ public static <X> Decade<X,X,X,X,X,X,X,X,X,X> fromIterable(final Iterable<X> iterable, int index) { return fromIterable(iterable, index, false); }
public <X0> Decade<X0,A,B,C,D,E,F,G,H,I> addAt0(final X0 value0) { return new Decade<X0,A,B,C,D,E,F,G,H,I>( value0, this.val0, this.val1, this.val2, this.val3, this.val4, this.val5, this.val6, this.val7, this.val8); }
/** * <p> * Create tuple from iterable, starting from the specified index. Iterable * can have more (or less) elements than the tuple to be created. * </p> * * @param <X> the iterable component type * @param iterable the iterable to be converted to a tuple * @return the tuple */ public static <X> Decade<X,X,X,X,X,X,X,X,X,X> fromIterable(final Iterable<X> iterable, int index) { return fromIterable(iterable, index, false); }
public <X0> Decade<A,B,C,D,E,F,G,H,I,X0> addAt9(final X0 value0) { return new Decade<A,B,C,D,E,F,G,H,I,X0>( this.val0, this.val1, this.val2, this.val3, this.val4, this.val5, this.val6, this.val7, this.val8, value0); }
public <X0,X1> Decade<A,B,C,D,X0,X1,E,F,G,H> addAt4(final X0 value0, final X1 value1) { return new Decade<A,B,C,D,X0,X1,E,F,G,H>( this.val0, this.val1, this.val2, this.val3, value0, value1, this.val4, this.val5, this.val6, this.val7); }
public <X0,X1> Decade<A,B,C,D,E,F,G,X0,X1,H> addAt7(final X0 value0, final X1 value1) { return new Decade<A,B,C,D,E,F,G,X0,X1,H>( this.val0, this.val1, this.val2, this.val3, this.val4, this.val5, this.val6, value0, value1, this.val7); }
public <X0> Decade<A,B,C,D,E,F,G,H,X0,I> addAt8(final X0 value0) { return new Decade<A,B,C,D,E,F,G,H,X0,I>( this.val0, this.val1, this.val2, this.val3, this.val4, this.val5, this.val6, this.val7, value0, this.val8); }
public <X0,X1,X2> Decade<A,B,X0,X1,X2,C,D,E,F,G> addAt2(final X0 value0, final X1 value1, final X2 value2) { return new Decade<A,B,X0,X1,X2,C,D,E,F,G>( this.val0, this.val1, value0, value1, value2, this.val2, this.val3, this.val4, this.val5, this.val6); }
public <X0,X1> Decade<A,X0,X1,B,C,D,E,F,G,H> addAt1(final X0 value0, final X1 value1) { return new Decade<A,X0,X1,B,C,D,E,F,G,H>( this.val0, value0, value1, this.val1, this.val2, this.val3, this.val4, this.val5, this.val6, this.val7); }
public <X0,X1> Decade<A,B,C,D,E,F,G,H,X0,X1> addAt8(final X0 value0, final X1 value1) { return new Decade<A,B,C,D,E,F,G,H,X0,X1>( this.val0, this.val1, this.val2, this.val3, this.val4, this.val5, this.val6, this.val7, value0, value1); }
public <X0> Decade<A,B,X0,C,D,E,F,G,H,I> addAt2(final X0 value0) { return new Decade<A,B,X0,C,D,E,F,G,H,I>( this.val0, this.val1, value0, this.val2, this.val3, this.val4, this.val5, this.val6, this.val7, this.val8); }