Package dap4.core.dmr

Class DapDimension

  • All Implemented Interfaces:
    DapDecl, Cloneable

    public class DapDimension
    extends DapNode
    implements DapDecl, Cloneable
    This class defines a Dimension: Modified 10/15/2016 to support zero-sized dimensions.
    • Field Detail

      • size

        protected long size
      • isshared

        protected boolean isshared
      • isunlimited

        protected boolean isunlimited
    • Constructor Detail

      • DapDimension

        public DapDimension()
      • DapDimension

        public DapDimension​(String name)
      • DapDimension

        public DapDimension​(String name,
                            long size)
      • DapDimension

        public DapDimension​(long size)
    • Method Detail

      • getSize

        public long getSize()
      • setSize

        public void setSize​(long size)
      • isShared

        public boolean isShared()
      • setShared

        public void setShared​(boolean tf)
      • isUnlimited

        public boolean isUnlimited()
      • setUnlimited

        public void setUnlimited​(boolean tf)