Class Size.Size1D

  • Enclosing class:
    Size

    public static class Size.Size1D
    extends Size
    A class for representing the size (length) of a 1-dimensional array. This is mainly used as syntactic sugar.
    • Constructor Detail

      • Size1D

        public Size1D()
    • Method Detail

      • build

        public static Size.Size1D build​(int length)
        Builds an object that represents the size (length) of a 1-dimensional array.
        Parameters:
        length - the size (length) of the array
        Returns:
        an object that represents the size (length) of a 1-dimensional array