Package ucar.nc2
Class Dimension.Builder
java.lang.Object
ucar.nc2.Dimension.Builder
- Enclosing class:
- Dimension
A builder of Dimensions.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()setIsShared(boolean isShared) Set whether this is shared.setIsUnlimited(boolean isUnlimited) Set is unlimited.setIsVariableLength(boolean isVariableLength) Set variable length is true.setLength(int n) Set the Dimension length.
-
Method Details
-
setIsUnlimited
Set is unlimited. Used by netcdf3 for variables whose outer dimension can change -
setIsVariableLength
Set variable length is true. Implies that its not shared, nor unlimited. Used by sequences. -
setLength
Set the Dimension length.- Parameters:
n- length of Dimension
-
setName
-
build
-