T - A phantom type parameterPVector4FType<T>, PVectorReadable2FType<T>, PVectorReadable3FType<T>, PVectorReadable4FType<T>, VectorReadable2FType, VectorReadable3FType, VectorReadable4FType, VectorComputationalTypepublic final class PVector4F<T> extends Object implements PVector4FType<T>
float-typed vectors.| Modifier and Type | Class | Description |
|---|---|---|
static class |
PVector4F.Builder<T> |
Builds instances of type
PVector4F. |
| Modifier and Type | Method | Description |
|---|---|---|
static <T> PVector4F.Builder<T> |
builder() |
Creates a builder for
PVector4F. |
boolean |
equals(Object another) |
This instance is equal to all instances of
PVector4F that have equal attribute values. |
int |
hashCode() |
Computes a hash code from attributes:
x, y, z, w. |
static <T> PVector4F<T> |
of(float x,
float y,
float z,
float w) |
Construct a new immutable
PVector4F instance. |
String |
toString() |
Prints the immutable value
PVector4F with attribute values. |
float |
w() |
|
float |
x() |
|
float |
y() |
|
float |
z() |
public float x()
x in interface PVector4FType<T>x in interface VectorReadable2FTypex attributepublic float y()
y in interface PVector4FType<T>y in interface VectorReadable2FTypey attributepublic float z()
z in interface PVector4FType<T>z in interface VectorReadable3FTypez attributepublic float w()
w in interface PVector4FType<T>w in interface VectorReadable4FTypew attributepublic boolean equals(Object another)
PVector4F that have equal attribute values.public int hashCode()
x, y, z, w.public String toString()
PVector4F with attribute values.public static <T> PVector4F<T> of(float x, float y, float z, float w)
PVector4F 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 <T> PVector4F.Builder<T> builder()
PVector4F.T - generic parameter TCopyright © 2017 <code@io7m.com> http://io7m.com