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