# Class VectorMutable2L

java.lang.Object
com.io7m.jtensors.storage.heap.VectorMutable2L

All Implemented Interfaces:
  `VectorReadable2LType, VectorStorageIntegral2Type, VectorStorageType`

public final class VectorMutable2L extends Object implements VectorStorageIntegral2Type
A heap-based vector.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `VectorMutable2L()`
  Create a new vector.

- ## Method Summary

  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()`

  ### Methods inherited from class Object

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

  ### Methods inherited from interface VectorStorageIntegral2Type

  `setVector2I, setVector2L, setXY`

- ## Constructor Details

  - ### VectorMutable2L

    public VectorMutable2L()
    Create a new vector.

- ## Method Details

  - ### equals

    public boolean equals(Object o)
    Overrides:
      `equals` in class `Object`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### x

    public long x()
    Specified by:
      `x` in interface `VectorReadable2LType`
    Returns:
      The `x` component

  - ### y

    public long y()
    Specified by:
      `y` in interface `VectorReadable2LType`
    Returns:
      The `y` component

  - ### setX

    public void setX(long in_x)
    Description copied from interface: `VectorStorageIntegral2Type`
    Set the `x` component.
    Specified by:
      `setX` in interface `VectorStorageIntegral2Type`
    Parameters:
      `in_x` - The X component

  - ### setY

    public void setY(long in_y)
    Description copied from interface: `VectorStorageIntegral2Type`
    Set the `Y` component.
    Specified by:
      `setY` in interface `VectorStorageIntegral2Type`
    Parameters:
      `in_y` - The Y component