public static final class PAreaSizeF.Builder<S> extends PAreaSizeFType.Builder<S>
PAreaSizeF.
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 | Description |
|---|---|---|
PAreaSizeF<S> |
build() |
Builds a new
PAreaSizeF. |
PAreaSizeF.Builder<S> |
from(PAreaSizeFType<S> instance) |
Fill a builder with attribute values from the provided
com.io7m.jregions.core.parameterized.sizes.PAreaSizeFType<S> instance. |
PAreaSizeF.Builder<S> |
from(AreaSizeValuesFType instance) |
Fill a builder with attribute values from the provided
com.io7m.jregions.core.unparameterized.sizes.AreaSizeValuesFType instance. |
PAreaSizeF.Builder<S> |
setSizeX(float sizeX) |
Initializes the value for the
sizeX attribute. |
PAreaSizeF.Builder<S> |
setSizeY(float sizeY) |
Initializes the value for the
sizeY attribute. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetHeight, setWidthpublic final PAreaSizeF.Builder<S> from(PAreaSizeFType<S> instance)
com.io7m.jregions.core.parameterized.sizes.PAreaSizeFType<S> instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final PAreaSizeF.Builder<S> from(AreaSizeValuesFType instance)
com.io7m.jregions.core.unparameterized.sizes.AreaSizeValuesFType instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final PAreaSizeF.Builder<S> setSizeX(float sizeX)
sizeX attribute.sizeX - The value for sizeXthis builder for use in a chained invocationpublic final PAreaSizeF.Builder<S> setSizeY(float sizeY)
sizeY attribute.sizeY - The value for sizeYthis builder for use in a chained invocationpublic PAreaSizeF<S> build()
PAreaSizeF.java.lang.IllegalStateException - if any required attributes are missingCopyright © 2017 <code@io7m.com> http://io7m.com