Vector4LType
, VectorReadable2LType
, VectorReadable3LType
, VectorReadable4LType
, VectorComputationalType
public final class Vector4L extends Object implements Vector4LType
long
-typed vectors.Modifier and Type | Class | Description |
---|---|---|
static class |
Vector4L.Builder |
Builds instances of type
Vector4L . |
Modifier and Type | Method | 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 Vector4LType
x
in interface VectorReadable2LType
x
attributepublic long y()
y
in interface Vector4LType
y
in interface VectorReadable2LType
y
attributepublic long z()
z
in interface Vector4LType
z
in interface VectorReadable3LType
z
attributepublic long w()
w
in interface Vector4LType
w
in interface VectorReadable4LType
w
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