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