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
A one-dimensional rectangular shape, with only a width.
-
Method Summary
Methods inherited from interface Rectangular1DLike
length, lengthByte, lengthDouble, lengthFloat, lengthInt, lengthLong, lengthShort, width, widthByte, widthDouble, widthFloat, widthInt, widthLong, widthShort
-
Method Details
-
dimensions
default int dimensions()Description copied from interface:RectangularThe dimension of the rectangle.- Specified by:
dimensionsin interfaceRectangular- Returns:
- The dimensionality of the rectangle.
-