Modifier and Type | Method | Description |
---|---|---|
PVector3L<T> |
build() |
Builds a new
PVector3L . |
PVector3L.Builder<T> |
from(PVector3LType<T> instance) |
Fill a builder with attribute values from the provided
com.io7m.jtensors.core.parameterized.vectors.PVector3LType<T> instance. |
PVector3L.Builder<T> |
from(VectorReadable2LType instance) |
Fill a builder with attribute values from the provided
com.io7m.jtensors.core.unparameterized.vectors.VectorReadable2LType instance. |
PVector3L.Builder<T> |
from(VectorReadable3LType instance) |
Fill a builder with attribute values from the provided
com.io7m.jtensors.core.unparameterized.vectors.VectorReadable3LType instance. |
PVector3L.Builder<T> |
setX(long x) |
Initializes the value for the
x attribute. |
PVector3L.Builder<T> |
setY(long y) |
Initializes the value for the
y attribute. |
PVector3L.Builder<T> |
setZ(long z) |
Initializes the value for the
z attribute. |
public final PVector3L.Builder<T> from(VectorReadable2LType instance)
com.io7m.jtensors.core.unparameterized.vectors.VectorReadable2LType
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final PVector3L.Builder<T> from(VectorReadable3LType instance)
com.io7m.jtensors.core.unparameterized.vectors.VectorReadable3LType
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final PVector3L.Builder<T> from(PVector3LType<T> instance)
com.io7m.jtensors.core.parameterized.vectors.PVector3LType<T>
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final PVector3L.Builder<T> setX(long x)
x
attribute.x
- The value for xthis
builder for use in a chained invocationpublic final PVector3L.Builder<T> setY(long y)
y
attribute.y
- The value for ythis
builder for use in a chained invocationpublic final PVector3L.Builder<T> setZ(long z)
z
attribute.z
- The value for zthis
builder for use in a chained invocationpublic PVector3L<T> build()
PVector3L
.IllegalStateException
- if any required attributes are missingCopyright © 2017 <code@io7m.com> http://io7m.com