Class PVectorMutable2L<T>

java.lang.Object
com.io7m.jtensors.storage.heap.PVectorMutable2L<T>
Type Parameters:
T - A phantom type parameter
All Implemented Interfaces:
PVectorReadable2LType<T>, VectorReadable2LType, PVectorStorageIntegral2Type<T>, VectorStorageIntegral2Type, VectorStorageType

public final class PVectorMutable2L<T>
extends java.lang.Object
implements PVectorStorageIntegral2Type<T>
A heap-based vector.
  • Constructor Summary

    Constructors 
    Constructor Description
    PVectorMutable2L()
    Create a new vector.
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object o)  
    int hashCode()  
    void setX​(long in_x)
    Set the x component.
    void setY​(long in_y)
    Set the Y component.
    java.lang.String toString()  
    long x()  
    long y()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.io7m.jtensors.storage.api.parameterized.vectors.PVectorStorageIntegral2Type

    setPVector2I, setPVector2L

    Methods inherited from interface com.io7m.jtensors.storage.api.unparameterized.vectors.VectorStorageIntegral2Type

    setVector2I, setVector2L, setXY