Interface Rectangular1D<Numerical extends Number>

Type Parameters:
Numerical - the type of the width
All Superinterfaces:
Rectangular, Rectangular1DLike<Numerical>, Serializable
All Known Subinterfaces:
Rectangular2DLike<Numerical>
All Known Implementing Classes:
Rectangular2DDouble, Rectangular2DLong

public interface Rectangular1D<Numerical extends Number> extends Rectangular1DLike<Numerical>
A one-dimensional rectangular shape, with only a width.
  • Method Details

    • dimensions

      default int dimensions()
      Description copied from interface: Rectangular
      The dimension of the rectangle.
      Specified by:
      dimensions in interface Rectangular
      Returns:
      The dimensionality of the rectangle.