Class Size.Size4D

  • Enclosing class:
    Size

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

      • Size4D

        public Size4D()
    • Method Detail

      • build

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