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