T
- A phantom type parameterPVector3FType<T>
, PVectorReadable2FType<T>
, PVectorReadable3FType<T>
, VectorReadable2FType
, VectorReadable3FType
, VectorComputationalType
public final class PVector3F<T> extends Object implements PVector3FType<T>
float
-typed vectors.Modifier and Type | Class | Description |
---|---|---|
static class |
PVector3F.Builder<T> |
Builds instances of type
PVector3F . |
Modifier and Type | Method | Description |
---|---|---|
static <T> PVector3F.Builder<T> |
builder() |
Creates a builder for
PVector3F . |
boolean |
equals(Object another) |
This instance is equal to all instances of
PVector3F that have equal attribute values. |
int |
hashCode() |
Computes a hash code from attributes:
x , y , z . |
static <T> PVector3F<T> |
of(float x,
float y,
float z) |
Construct a new immutable
PVector3F instance. |
String |
toString() |
Prints the immutable value
PVector3F with attribute values. |
float |
x() |
|
float |
y() |
|
float |
z() |
public float x()
x
in interface PVector3FType<T>
x
in interface VectorReadable2FType
x
attributepublic float y()
y
in interface PVector3FType<T>
y
in interface VectorReadable2FType
y
attributepublic float z()
z
in interface PVector3FType<T>
z
in interface VectorReadable3FType
z
attributepublic boolean equals(Object another)
PVector3F
that have equal attribute values.public int hashCode()
x
, y
, z
.public String toString()
PVector3F
with attribute values.public static <T> PVector3F<T> of(float x, float y, float z)
PVector3F
instance.x
- The value for the x
attributey
- The value for the y
attributez
- The value for the z
attributepublic static <T> PVector3F.Builder<T> builder()
PVector3F
.T
- generic parameter TCopyright © 2017 <code@io7m.com> http://io7m.com