public static final class PAreaXYSplitBD.Builder<S,T extends PAreaBDType<S>> extends Object
PAreaXYSplitBD.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method and Description |
|---|---|
PAreaXYSplitBD<S,T> |
build()
Builds a new
PAreaXYSplitBD. |
PAreaXYSplitBD.Builder<S,T> |
from(PAreaXYSplitBDType<S,T> instance)
Fill a builder with attribute values from the provided
PAreaXYSplitBDType instance. |
PAreaXYSplitBD.Builder<S,T> |
setX0y0(T x0y0)
Initializes the value for the
x0y0 attribute. |
PAreaXYSplitBD.Builder<S,T> |
setX0y1(T x0y1)
Initializes the value for the
x0y1 attribute. |
PAreaXYSplitBD.Builder<S,T> |
setX1y0(T x1y0)
Initializes the value for the
x1y0 attribute. |
PAreaXYSplitBD.Builder<S,T> |
setX1y1(T x1y1)
Initializes the value for the
x1y1 attribute. |
public final PAreaXYSplitBD.Builder<S,T> from(PAreaXYSplitBDType<S,T> instance)
PAreaXYSplitBDType instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final PAreaXYSplitBD.Builder<S,T> setX0y0(T x0y0)
x0y0 attribute.x0y0 - The value for x0y0this builder for use in a chained invocationpublic final PAreaXYSplitBD.Builder<S,T> setX1y0(T x1y0)
x1y0 attribute.x1y0 - The value for x1y0this builder for use in a chained invocationpublic final PAreaXYSplitBD.Builder<S,T> setX0y1(T x0y1)
x0y1 attribute.x0y1 - The value for x0y1this builder for use in a chained invocationpublic final PAreaXYSplitBD.Builder<S,T> setX1y1(T x1y1)
x1y1 attribute.x1y1 - The value for x1y1this builder for use in a chained invocationpublic PAreaXYSplitBD<S,T> build()
PAreaXYSplitBD.IllegalStateException - if any required attributes are missingCopyright © 2017 <code@io7m.com> http://io7m.com