@Generated(value={"Immutables.generator","Vector4IType"}) public final class Vector4I extends Object implements Vector4IType
int-typed vectors.| Modifier and Type | Class and Description |
|---|---|
static class |
Vector4I.Builder
Builds instances of type
Vector4I. |
| Modifier and Type | Method and Description |
|---|---|
static Vector4I.Builder |
builder()
Creates a builder for
Vector4I. |
boolean |
equals(Object another)
This instance is equal to all instances of
Vector4I that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
x, y, z, w. |
static Vector4I |
of(int x,
int y,
int z,
int w)
Construct a new immutable
Vector4I instance. |
String |
toString()
Prints the immutable value
Vector4I with attribute values. |
int |
w() |
int |
x() |
int |
y() |
int |
z() |
public int x()
x in interface Vector4ITypex in interface VectorReadable2ITypex attributepublic int y()
y in interface Vector4ITypey in interface VectorReadable2ITypey attributepublic int z()
z in interface Vector4ITypez in interface VectorReadable3ITypez attributepublic int w()
w in interface Vector4ITypew in interface VectorReadable4ITypew attributepublic boolean equals(Object another)
Vector4I that have equal attribute values.public int hashCode()
x, y, z, w.public String toString()
Vector4I with attribute values.public static Vector4I of(int x, int y, int z, int w)
Vector4I 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 Vector4I.Builder builder()
Vector4I.Copyright © 2017 <code@io7m.com> http://io7m.com