Class Size.Size5D

  • Enclosing class:
    Size

    public static class Size.Size5D
    extends Size
    A class for representing the size (i.e., length of each dimension) a 5-dimensional array. This is mainly used as syntactic sugar.
    • Constructor Detail

      • Size5D

        public Size5D()
    • Method Detail

      • build

        public static Size.Size5D build​(int length0,
                                        int length1,
                                        int length2,
                                        int length3,
                                        int length4)
        Builds an object that represents the size (i.e., length of each dimension) of a 5-dimensional array.
        Parameters:
        length0 - the size (length) of the first dimension of a 5-dimensional array
        length1 - the size (length) of the second dimension of a 5-dimensional array
        length2 - the size (length) of the third dimension of a 5-dimensional array
        length3 - the size (length) of the fourth dimension of a 5-dimensional array
        length4 - the size (length) of the fifth dimension of a 5-dimensional array
        Returns:
        an object that represents the size (i.e., length of each dimension) of a 5-dimensional array