Class PVolumeBI.Builder<S>
java.lang.Object
com.io7m.jregions.core.parameterized.volumes.PVolumeBI.Builder<S>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds a newPVolumeBI
.final PVolumeBI.Builder<S>
from
(PVolumeBIType<S> instance) Fill a builder with attribute values from the providedcom.io7m.jregions.core.parameterized.volumes.PVolumeBIType
instance.final PVolumeBI.Builder<S>
from
(VolumeValuesBIType instance) Fill a builder with attribute values from the providedcom.io7m.jregions.core.unparameterized.volumes.VolumeValuesBIType
instance.final PVolumeBI.Builder<S>
setMaximumX
(BigInteger maximumX) Initializes the value for themaximumX
attribute.final PVolumeBI.Builder<S>
setMaximumY
(BigInteger maximumY) Initializes the value for themaximumY
attribute.final PVolumeBI.Builder<S>
setMaximumZ
(BigInteger maximumZ) Initializes the value for themaximumZ
attribute.final PVolumeBI.Builder<S>
setMinimumX
(BigInteger minimumX) Initializes the value for theminimumX
attribute.final PVolumeBI.Builder<S>
setMinimumY
(BigInteger minimumY) Initializes the value for theminimumY
attribute.final PVolumeBI.Builder<S>
setMinimumZ
(BigInteger minimumZ) Initializes the value for theminimumZ
attribute.
-
Method Details
-
from
Fill a builder with attribute values from the providedcom.io7m.jregions.core.parameterized.volumes.PVolumeBIType
instance.- Parameters:
instance
- The instance from which to copy values- Returns:
this
builder for use in a chained invocation
-
from
Fill a builder with attribute values from the providedcom.io7m.jregions.core.unparameterized.volumes.VolumeValuesBIType
instance.- Parameters:
instance
- The instance from which to copy values- Returns:
this
builder for use in a chained invocation
-
setMinimumX
Initializes the value for theminimumX
attribute.- Parameters:
minimumX
- The value for minimumX- Returns:
this
builder for use in a chained invocation
-
setMaximumX
Initializes the value for themaximumX
attribute.- Parameters:
maximumX
- The value for maximumX- Returns:
this
builder for use in a chained invocation
-
setMinimumY
Initializes the value for theminimumY
attribute.- Parameters:
minimumY
- The value for minimumY- Returns:
this
builder for use in a chained invocation
-
setMaximumY
Initializes the value for themaximumY
attribute.- Parameters:
maximumY
- The value for maximumY- Returns:
this
builder for use in a chained invocation
-
setMinimumZ
Initializes the value for theminimumZ
attribute.- Parameters:
minimumZ
- The value for minimumZ- Returns:
this
builder for use in a chained invocation
-
setMaximumZ
Initializes the value for themaximumZ
attribute.- Parameters:
maximumZ
- The value for maximumZ- Returns:
this
builder for use in a chained invocation
-
build
Builds a newPVolumeBI
.- Returns:
- An immutable instance of PVolumeBI
- Throws:
IllegalStateException
- if any required attributes are missing
-