public static final class PMatrix3x3D.Builder<A,B> extends Object
PMatrix3x3D.
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 |
|---|---|---|
PMatrix3x3D<A,B> |
build() |
Builds a new
PMatrix3x3D. |
PMatrix3x3D.Builder<A,B> |
from(PMatrix3x3DType<A,B> instance) |
Fill a builder with attribute values from the provided
com.io7m.jtensors.core.parameterized.matrices.PMatrix3x3DType<A, B> instance. |
PMatrix3x3D.Builder<A,B> |
from(MatrixReadable3x3DType instance) |
Fill a builder with attribute values from the provided
com.io7m.jtensors.core.unparameterized.matrices.MatrixReadable3x3DType instance. |
PMatrix3x3D.Builder<A,B> |
setR0c0(double r0c0) |
Initializes the value for the
r0c0 attribute. |
PMatrix3x3D.Builder<A,B> |
setR0c1(double r0c1) |
Initializes the value for the
r0c1 attribute. |
PMatrix3x3D.Builder<A,B> |
setR0c2(double r0c2) |
Initializes the value for the
r0c2 attribute. |
PMatrix3x3D.Builder<A,B> |
setR1c0(double r1c0) |
Initializes the value for the
r1c0 attribute. |
PMatrix3x3D.Builder<A,B> |
setR1c1(double r1c1) |
Initializes the value for the
r1c1 attribute. |
PMatrix3x3D.Builder<A,B> |
setR1c2(double r1c2) |
Initializes the value for the
r1c2 attribute. |
PMatrix3x3D.Builder<A,B> |
setR2c0(double r2c0) |
Initializes the value for the
r2c0 attribute. |
PMatrix3x3D.Builder<A,B> |
setR2c1(double r2c1) |
Initializes the value for the
r2c1 attribute. |
PMatrix3x3D.Builder<A,B> |
setR2c2(double r2c2) |
Initializes the value for the
r2c2 attribute. |
public final PMatrix3x3D.Builder<A,B> from(PMatrix3x3DType<A,B> instance)
com.io7m.jtensors.core.parameterized.matrices.PMatrix3x3DType<A, B> instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final PMatrix3x3D.Builder<A,B> from(MatrixReadable3x3DType instance)
com.io7m.jtensors.core.unparameterized.matrices.MatrixReadable3x3DType instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final PMatrix3x3D.Builder<A,B> setR0c0(double r0c0)
r0c0 attribute.r0c0 - The value for r0c0this builder for use in a chained invocationpublic final PMatrix3x3D.Builder<A,B> setR0c1(double r0c1)
r0c1 attribute.r0c1 - The value for r0c1this builder for use in a chained invocationpublic final PMatrix3x3D.Builder<A,B> setR0c2(double r0c2)
r0c2 attribute.r0c2 - The value for r0c2this builder for use in a chained invocationpublic final PMatrix3x3D.Builder<A,B> setR1c0(double r1c0)
r1c0 attribute.r1c0 - The value for r1c0this builder for use in a chained invocationpublic final PMatrix3x3D.Builder<A,B> setR1c1(double r1c1)
r1c1 attribute.r1c1 - The value for r1c1this builder for use in a chained invocationpublic final PMatrix3x3D.Builder<A,B> setR1c2(double r1c2)
r1c2 attribute.r1c2 - The value for r1c2this builder for use in a chained invocationpublic final PMatrix3x3D.Builder<A,B> setR2c0(double r2c0)
r2c0 attribute.r2c0 - The value for r2c0this builder for use in a chained invocationpublic final PMatrix3x3D.Builder<A,B> setR2c1(double r2c1)
r2c1 attribute.r2c1 - The value for r2c1this builder for use in a chained invocationpublic final PMatrix3x3D.Builder<A,B> setR2c2(double r2c2)
r2c2 attribute.r2c2 - The value for r2c2this builder for use in a chained invocationpublic PMatrix3x3D<A,B> build()
PMatrix3x3D.IllegalStateException - if any required attributes are missingCopyright © 2017 <code@io7m.com> http://io7m.com