Package ucar.nc2

Class Dimension.Builder

  • Enclosing class:
    Dimension

    public static class Dimension.Builder
    extends Object
    A builder of Dimensions.
    • Method Detail

      • setIsUnlimited

        public Dimension.Builder setIsUnlimited​(boolean isUnlimited)
        Set is unlimited. Used by netcdf3 for variables whose outer dimension can change
      • setIsVariableLength

        public Dimension.Builder setIsVariableLength​(boolean isVariableLength)
        Set variable length is true. Implies that its not shared, nor unlimited. Used by sequences.
      • setIsShared

        public Dimension.Builder setIsShared​(boolean isShared)
        Set whether this is shared. Default value is true. Implies it is owned by a Group.
      • setLength

        public Dimension.Builder setLength​(int n)
        Set the Dimension length.
        Parameters:
        n - length of Dimension