-
- All Implemented Interfaces:
public final class Shape.Collection.Builder
-
-
Constructor Summary
Constructors Constructor Description Shape.Collection.Builder()
-
Method Summary
Modifier and Type Method Description final List<Shape>getShapes()final Shape.Collectionbuild()Builds and returns the configured instance. final Shape.Collection.BuilderaddShape(Shape shape)-
-
Method Detail
-
build
final Shape.Collection build()
Builds and returns the configured instance. Validates required fields; throws if validation fails.
-
addShape
final Shape.Collection.Builder addShape(Shape shape)
-
-
-
-