Class UnlimitedDimension

  • All Implemented Interfaces:
    Comparable<Dimension>

    public class UnlimitedDimension
    extends Dimension
    A Dimension whose length may change. Only used when writing.
    • Constructor Detail

      • UnlimitedDimension

        public UnlimitedDimension​(String name,
                                  int length)
    • Method Detail

      • setLength

        public void setLength​(int length)
        Set the Dimension length.
      • getLength

        public int getLength()
        Get the length of the Dimension.
        Overrides:
        getLength in class Dimension