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