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