Class PVectorMutable4L<T>
java.lang.Object
com.io7m.jtensors.storage.heap.PVectorMutable4L<T>
- Type Parameters:
T- A phantom type parameter
- All Implemented Interfaces:
PVectorReadable2LType<T>, PVectorReadable3LType<T>, PVectorReadable4LType<T>, VectorReadable2LType, VectorReadable3LType, VectorReadable4LType, PVectorStorageIntegral2Type<T>, PVectorStorageIntegral3Type<T>, PVectorStorageIntegral4Type<T>, VectorStorageIntegral2Type, VectorStorageIntegral3Type, VectorStorageIntegral4Type, VectorStorageType
A heap-based vector.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from interface PVectorStorageIntegral2Type
setPVector2I, setPVector2LMethods inherited from interface PVectorStorageIntegral3Type
setPVector3I, setPVector3LMethods inherited from interface PVectorStorageIntegral4Type
setPVector4I, setPVector4LMethods inherited from interface VectorStorageIntegral2Type
setVector2I, setVector2L, setXYMethods inherited from interface VectorStorageIntegral3Type
setVector3I, setVector3L, setXYZMethods inherited from interface VectorStorageIntegral4Type
setVector4I, setVector4L, setXYZW
-
Constructor Details
-
PVectorMutable4L
public PVectorMutable4L()Create a new vector.
-
-
Method Details
-
equals
-
hashCode
-
toString
-
x
public long x()- Specified by:
xin interfaceVectorReadable2LType- Returns:
- The
xcomponent
-
y
public long y()- Specified by:
yin interfaceVectorReadable2LType- Returns:
- The
ycomponent
-
w
public long w()- Specified by:
win interfaceVectorReadable4LType- Returns:
- The
wcomponent
-
z
public long z()- Specified by:
zin interfaceVectorReadable3LType- Returns:
- The
zcomponent
-
setZ
public void setZ(long in_z) Description copied from interface:VectorStorageIntegral3TypeSet thezcomponent.- Specified by:
setZin interfaceVectorStorageIntegral3Type- Parameters:
in_z- The Z component
-
setX
public void setX(long in_x) Description copied from interface:VectorStorageIntegral2TypeSet thexcomponent.- Specified by:
setXin interfaceVectorStorageIntegral2Type- Parameters:
in_x- The X component
-
setY
public void setY(long in_y) Description copied from interface:VectorStorageIntegral2TypeSet theYcomponent.- Specified by:
setYin interfaceVectorStorageIntegral2Type- Parameters:
in_y- The Y component
-
setW
public void setW(long in_w) Description copied from interface:VectorStorageIntegral4TypeSet thewcomponent.- Specified by:
setWin interfaceVectorStorageIntegral4Type- Parameters:
in_w- The W component
-