Package org.xcsp.common
Class Size.Size2D
- java.lang.Object
-
- org.xcsp.common.Size
-
- org.xcsp.common.Size.Size2D
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.xcsp.common.Size
Size.Size1D, Size.Size2D, Size.Size3D, Size.Size4D, Size.Size5D
-
-
Constructor Summary
Constructors Constructor Description Size2D()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Size.Size2D
build(int length0, int length1)
Builds an object that represents the size (i.e., length of each dimension) of a 2-dimensional array.-
Methods inherited from class org.xcsp.common.Size
setLengths, toString
-
-
-
-
Method Detail
-
build
public static Size.Size2D build(int length0, int length1)
Builds an object that represents the size (i.e., length of each dimension) of a 2-dimensional array.- Parameters:
length0
- the size (length) of the first dimension of a 2-dimensional arraylength1
- the size (length) of the second dimension of a 2-dimensional array- Returns:
- an object that represents the size (i.e., length of each dimension) of a 2-dimensional array
-
-