VectorReadable2LType
, VectorStorageIntegral2Type
, VectorStorageType
public final class VectorMutable2L extends Object implements VectorStorageIntegral2Type
Constructor | Description |
---|---|
VectorMutable2L() |
Create a new vector.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object o) |
|
int |
hashCode() |
|
void |
setX(long in_x) |
Set the
x component. |
void |
setY(long in_y) |
Set the
Y component. |
String |
toString() |
|
long |
x() |
|
long |
y() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
setVector2I, setVector2L, setXY
public long x()
x
in interface VectorReadable2LType
x
componentpublic long y()
y
in interface VectorReadable2LType
y
componentpublic void setX(long in_x)
VectorStorageIntegral2Type
x
component.setX
in interface VectorStorageIntegral2Type
in_x
- The X componentpublic void setY(long in_y)
VectorStorageIntegral2Type
Y
component.setY
in interface VectorStorageIntegral2Type
in_y
- The Y componentCopyright © 2017 <code@io7m.com> http://io7m.com