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