public static final class PVolumeXYZSplitF.Builder<S,T extends PVolumeFType<S>> extends Object
PVolumeXYZSplitF.
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 |
|---|---|
PVolumeXYZSplitF<S,T> |
build()
Builds a new
PVolumeXYZSplitF. |
PVolumeXYZSplitF.Builder<S,T> |
from(PVolumeXYZSplitFType<S,T> instance)
Fill a builder with attribute values from the provided
PVolumeXYZSplitFType instance. |
PVolumeXYZSplitF.Builder<S,T> |
setX0y0z0(T x0y0z0)
Initializes the value for the
x0y0z0 attribute. |
PVolumeXYZSplitF.Builder<S,T> |
setX0y0z1(T x0y0z1)
Initializes the value for the
x0y0z1 attribute. |
PVolumeXYZSplitF.Builder<S,T> |
setX0y1z0(T x0y1z0)
Initializes the value for the
x0y1z0 attribute. |
PVolumeXYZSplitF.Builder<S,T> |
setX0y1z1(T x0y1z1)
Initializes the value for the
x0y1z1 attribute. |
PVolumeXYZSplitF.Builder<S,T> |
setX1y0z0(T x1y0z0)
Initializes the value for the
x1y0z0 attribute. |
PVolumeXYZSplitF.Builder<S,T> |
setX1y0z1(T x1y0z1)
Initializes the value for the
x1y0z1 attribute. |
PVolumeXYZSplitF.Builder<S,T> |
setX1y1z0(T x1y1z0)
Initializes the value for the
x1y1z0 attribute. |
PVolumeXYZSplitF.Builder<S,T> |
setX1y1z1(T x1y1z1)
Initializes the value for the
x1y1z1 attribute. |
public final PVolumeXYZSplitF.Builder<S,T> from(PVolumeXYZSplitFType<S,T> instance)
PVolumeXYZSplitFType 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 PVolumeXYZSplitF.Builder<S,T> setX0y0z0(T x0y0z0)
x0y0z0 attribute.x0y0z0 - The value for x0y0z0this builder for use in a chained invocationpublic final PVolumeXYZSplitF.Builder<S,T> setX1y0z0(T x1y0z0)
x1y0z0 attribute.x1y0z0 - The value for x1y0z0this builder for use in a chained invocationpublic final PVolumeXYZSplitF.Builder<S,T> setX0y1z0(T x0y1z0)
x0y1z0 attribute.x0y1z0 - The value for x0y1z0this builder for use in a chained invocationpublic final PVolumeXYZSplitF.Builder<S,T> setX1y1z0(T x1y1z0)
x1y1z0 attribute.x1y1z0 - The value for x1y1z0this builder for use in a chained invocationpublic final PVolumeXYZSplitF.Builder<S,T> setX0y0z1(T x0y0z1)
x0y0z1 attribute.x0y0z1 - The value for x0y0z1this builder for use in a chained invocationpublic final PVolumeXYZSplitF.Builder<S,T> setX1y0z1(T x1y0z1)
x1y0z1 attribute.x1y0z1 - The value for x1y0z1this builder for use in a chained invocationpublic final PVolumeXYZSplitF.Builder<S,T> setX0y1z1(T x0y1z1)
x0y1z1 attribute.x0y1z1 - The value for x0y1z1this builder for use in a chained invocationpublic final PVolumeXYZSplitF.Builder<S,T> setX1y1z1(T x1y1z1)
x1y1z1 attribute.x1y1z1 - The value for x1y1z1this builder for use in a chained invocationpublic PVolumeXYZSplitF<S,T> build()
PVolumeXYZSplitF.IllegalStateException - if any required attributes are missingCopyright © 2017 <code@io7m.com> http://io7m.com