Class Decade<A,​B,​C,​D,​E,​F,​G,​H,​I,​J>

    • Field Detail

      • val0

        private final A val0
      • val1

        private final B val1
      • val2

        private final C val2
      • val3

        private final D val3
      • val4

        private final E val4
      • val5

        private final F val5
      • val6

        private final G val6
      • val7

        private final H val7
      • val8

        private final I val8
      • val9

        private final J val9
    • Constructor Detail

      • Decade

        public Decade​(A value0,
                      B value1,
                      C value2,
                      D value3,
                      E value4,
                      F value5,
                      G value6,
                      H value7,
                      I value8,
                      J value9)
    • Method Detail

      • with

        public static <A,​B,​C,​D,​E,​F,​G,​H,​I,​J> Decade<A,​B,​C,​D,​E,​F,​G,​H,​I,​J> with​(A value0,
                                                                                                                                                                                         B value1,
                                                                                                                                                                                         C value2,
                                                                                                                                                                                         D value3,
                                                                                                                                                                                         E value4,
                                                                                                                                                                                         F value5,
                                                                                                                                                                                         G value6,
                                                                                                                                                                                         H value7,
                                                                                                                                                                                         I value8,
                                                                                                                                                                                         J value9)
      • fromArray

        public static <X> Decade<X,​X,​X,​X,​X,​X,​X,​X,​X,​X> fromArray​(X[] array)

        Create tuple from array. Array has to have exactly ten elements.

        Type Parameters:
        X - the array component type
        Parameters:
        array - the array to be converted to a tuple
        Returns:
        the tuple
      • fromCollection

        public static <X> Decade<X,​X,​X,​X,​X,​X,​X,​X,​X,​X> fromCollection​(java.util.Collection<X> collection)

        Create tuple from collection. Collection has to have exactly ten elements.

        Type Parameters:
        X - the collection component type
        Parameters:
        collection - the collection to be converted to a tuple
        Returns:
        the tuple
      • fromIterable

        public static <X> Decade<X,​X,​X,​X,​X,​X,​X,​X,​X,​X> fromIterable​(java.lang.Iterable<X> iterable)

        Create tuple from iterable. Iterable has to have exactly ten elements.

        Type Parameters:
        X - the iterable component type
        Parameters:
        iterable - the iterable to be converted to a tuple
        Returns:
        the tuple
      • fromIterable

        public static <X> Decade<X,​X,​X,​X,​X,​X,​X,​X,​X,​X> fromIterable​(java.lang.Iterable<X> iterable,
                                                                                                                         int index)

        Create tuple from iterable, starting from the specified index. Iterable can have more (or less) elements than the tuple to be created.

        Type Parameters:
        X - the iterable component type
        Parameters:
        iterable - the iterable to be converted to a tuple
        Returns:
        the tuple
      • fromIterable

        private static <X> Decade<X,​X,​X,​X,​X,​X,​X,​X,​X,​X> fromIterable​(java.lang.Iterable<X> iterable,
                                                                                                                          int index,
                                                                                                                          boolean exactSize)
      • getSize

        public int getSize()
        Description copied from class: Tuple

        Return the size of the tuple.

        Specified by:
        getSize in class Tuple
        Returns:
        the size of the tuple.
      • setAt0

        public <X> Decade<X,​B,​C,​D,​E,​F,​G,​H,​I,​J> setAt0​(X value)
      • setAt1

        public <X> Decade<A,​X,​C,​D,​E,​F,​G,​H,​I,​J> setAt1​(X value)
      • setAt2

        public <X> Decade<A,​B,​X,​D,​E,​F,​G,​H,​I,​J> setAt2​(X value)
      • setAt3

        public <X> Decade<A,​B,​C,​X,​E,​F,​G,​H,​I,​J> setAt3​(X value)
      • setAt4

        public <X> Decade<A,​B,​C,​D,​X,​F,​G,​H,​I,​J> setAt4​(X value)
      • setAt5

        public <X> Decade<A,​B,​C,​D,​E,​X,​G,​H,​I,​J> setAt5​(X value)
      • setAt6

        public <X> Decade<A,​B,​C,​D,​E,​F,​X,​H,​I,​J> setAt6​(X value)
      • setAt7

        public <X> Decade<A,​B,​C,​D,​E,​F,​G,​X,​I,​J> setAt7​(X value)
      • setAt8

        public <X> Decade<A,​B,​C,​D,​E,​F,​G,​H,​X,​J> setAt8​(X value)
      • setAt9

        public <X> Decade<A,​B,​C,​D,​E,​F,​G,​H,​I,​X> setAt9​(X value)
      • removeFrom0

        public Ennead<B,​C,​D,​E,​F,​G,​H,​I,​J> removeFrom0()
      • removeFrom1

        public Ennead<A,​C,​D,​E,​F,​G,​H,​I,​J> removeFrom1()
      • removeFrom2

        public Ennead<A,​B,​D,​E,​F,​G,​H,​I,​J> removeFrom2()
      • removeFrom3

        public Ennead<A,​B,​C,​E,​F,​G,​H,​I,​J> removeFrom3()
      • removeFrom4

        public Ennead<A,​B,​C,​D,​F,​G,​H,​I,​J> removeFrom4()
      • removeFrom5

        public Ennead<A,​B,​C,​D,​E,​G,​H,​I,​J> removeFrom5()
      • removeFrom6

        public Ennead<A,​B,​C,​D,​E,​F,​H,​I,​J> removeFrom6()
      • removeFrom7

        public Ennead<A,​B,​C,​D,​E,​F,​G,​I,​J> removeFrom7()
      • removeFrom8

        public Ennead<A,​B,​C,​D,​E,​F,​G,​H,​J> removeFrom8()
      • removeFrom9

        public Ennead<A,​B,​C,​D,​E,​F,​G,​H,​I> removeFrom9()