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