T - A phantom type parameterPVector4IType<T>, PVectorReadable2IType<T>, PVectorReadable3IType<T>, PVectorReadable4IType<T>, VectorReadable2IType, VectorReadable3IType, VectorReadable4IType, VectorComputationalTypepublic final class PVector4I<T> extends Object implements PVector4IType<T>
int-typed vectors.| Modifier and Type | Class | Description |
|---|---|---|
static class |
PVector4I.Builder<T> |
Builds instances of type
PVector4I. |
| Modifier and Type | Method | Description |
|---|---|---|
static <T> PVector4I.Builder<T> |
builder() |
Creates a builder for
PVector4I. |
boolean |
equals(Object another) |
This instance is equal to all instances of
PVector4I that have equal attribute values. |
int |
hashCode() |
Computes a hash code from attributes:
x, y, z, w. |
static <T> PVector4I<T> |
of(int x,
int y,
int z,
int w) |
Construct a new immutable
PVector4I instance. |
String |
toString() |
Prints the immutable value
PVector4I with attribute values. |
int |
w() |
|
int |
x() |
|
int |
y() |
|
int |
z() |
public int x()
x in interface PVector4IType<T>x in interface VectorReadable2ITypex attributepublic int y()
y in interface PVector4IType<T>y in interface VectorReadable2ITypey attributepublic int z()
z in interface PVector4IType<T>z in interface VectorReadable3ITypez attributepublic int w()
w in interface PVector4IType<T>w in interface VectorReadable4ITypew attributepublic boolean equals(Object another)
PVector4I that have equal attribute values.public int hashCode()
x, y, z, w.public String toString()
PVector4I with attribute values.public static <T> PVector4I<T> of(int x, int y, int z, int w)
PVector4I 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> PVector4I.Builder<T> builder()
PVector4I.T - generic parameter TCopyright © 2017 <code@io7m.com> http://io7m.com