@Generated(value={"Immutables.generator","Vector4FType"}) public final class Vector4F extends Object implements Vector4FType
float-typed vectors.| Modifier and Type | Class and Description |
|---|---|
static class |
Vector4F.Builder
Builds instances of type
Vector4F. |
| Modifier and Type | Method and Description |
|---|---|
static Vector4F.Builder |
builder()
Creates a builder for
Vector4F. |
boolean |
equals(Object another)
This instance is equal to all instances of
Vector4F that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
x, y, z, w. |
static Vector4F |
of(float x,
float y,
float z,
float w)
Construct a new immutable
Vector4F instance. |
String |
toString()
Prints the immutable value
Vector4F with attribute values. |
float |
w() |
float |
x() |
float |
y() |
float |
z() |
public float x()
x in interface Vector4FTypex in interface VectorReadable2FTypex attributepublic float y()
y in interface Vector4FTypey in interface VectorReadable2FTypey attributepublic float z()
z in interface Vector4FTypez in interface VectorReadable3FTypez attributepublic float w()
w in interface Vector4FTypew in interface VectorReadable4FTypew attributepublic boolean equals(Object another)
Vector4F that have equal attribute values.public int hashCode()
x, y, z, w.public String toString()
Vector4F with attribute values.public static Vector4F of(float x, float y, float z, float w)
Vector4F instance.x - The value for the x attributey - The value for the y attributez - The value for the z attributew - The value for the w attributepublic static Vector4F.Builder builder()
Vector4F.Copyright © 2017 <code@io7m.com> http://io7m.com