# Uses of Class
jdk.incubator.vector.LongVector

Packages that use LongVector
Package | Description
--- | ---
jdk.incubator.vector | Incubating Feature. Will be removed in a future release.

- ## Uses of LongVector in jdk.incubator.vector

  Methods in jdk.incubator.vector that return LongVector
  Modifier and Type | Method | Description
  --- | --- | ---
  `LongVector` | LongVector.`abs()` | Returns the absolute value of this vector.
  `LongVector` | LongVector.`add​(long e)` | Adds this vector to the broadcast of an input scalar.
  `LongVector` | LongVector.`add​(long e, VectorMask<Long> m)` | Adds this vector to the broadcast of an input scalar, selecting lane elements controlled by a mask.
  `LongVector` | LongVector.`add​(Vector<Long> v)` | Adds this vector to a second input vector.
  `LongVector` | LongVector.`add​(Vector<Long> v, VectorMask<Long> m)` | Adds this vector to a second input vector, selecting lanes under the control of a mask.
  `abstract LongVector` | LongVector.`addIndex​(int scale)` | Adds the lanes of this vector to their corresponding lane numbers, scaled by a given constant.
  `LongVector` | LongVector.`and​(long e)` | Computes the bitwise logical conjunction (`&`) of this vector and a scalar.
  `LongVector` | LongVector.`and​(Vector<Long> v)` | Computes the bitwise logical conjunction (`&`) of this vector and a second input vector.
  `LongVector` | LongVector.`bitwiseBlend​(long bits, long mask)` | Blends together the bits of a vector and a scalar under the control of another scalar, which supplies mask bits.
  `LongVector` | LongVector.`bitwiseBlend​(long bits, Vector<Long> mask)` | Blends together the bits of a vector and a scalar under the control of another vector, which supplies mask bits.
  `LongVector` | LongVector.`bitwiseBlend​(Vector<Long> bits, long mask)` | Blends together the bits of two vectors under the control of a scalar, which supplies mask bits.
  `LongVector` | LongVector.`bitwiseBlend​(Vector<Long> bits, Vector<Long> mask)` | Blends together the bits of two vectors under the control of a third, which supplies mask bits.
  `LongVector` | LongVector.`blend​(long e, VectorMask<Long> m)` | Replaces selected lanes of this vector with a scalar value under the control of a mask.
  `abstract LongVector` | LongVector.`blend​(Vector<Long> v, VectorMask<Long> m)` | Replaces selected lanes of this vector with corresponding lanes from a second input vector under the control of a mask.
  `abstract LongVector` | LongVector.`broadcast​(long e)` | Returns a vector of the same species as this one where all lane elements are set to the primitive value `e`.
  `static LongVector` | LongVector.`broadcast​(VectorSpecies<Long> species, long e)` | Returns a vector of the given species where all lane elements are set to the primitive value `e`.
  `LongVector` | LongVector.`div​(long e)` | Divides this vector by the broadcast of an input scalar.
  `LongVector` | LongVector.`div​(long e, VectorMask<Long> m)` | Divides this vector by the broadcast of an input scalar, selecting lane elements controlled by a mask.
  `LongVector` | LongVector.`div​(Vector<Long> v)` | Divides this vector by a second input vector.
  `LongVector` | LongVector.`div​(Vector<Long> v, VectorMask<Long> m)` | Divides this vector by a second input vector under the control of a mask.
  `static LongVector` | LongVector.`fromArray​(VectorSpecies<Long> species, long[] a, int offset)` | Loads a vector from an array of type `long[]` starting at an offset.
  `static LongVector` | LongVector.`fromArray​(VectorSpecies<Long> species, long[] a, int offset, int[] indexMap, int mapOffset)` | Gathers a new vector composed of elements from an array of type `long[]`, using indexes obtained by adding a fixed `offset` to a series of secondary offsets from an index map.
  `static LongVector` | LongVector.`fromArray​(VectorSpecies<Long> species, long[] a, int offset, int[] indexMap, int mapOffset, VectorMask<Long> m)` | Gathers a new vector composed of elements from an array of type `long[]`, under the control of a mask, and using indexes obtained by adding a fixed `offset` to a series of secondary offsets from an index map.
  `static LongVector` | LongVector.`fromArray​(VectorSpecies<Long> species, long[] a, int offset, VectorMask<Long> m)` | Loads a vector from an array of type `long[]` starting at an offset and using a mask.
  `static LongVector` | LongVector.`fromByteArray​(VectorSpecies<Long> species, byte[] a, int offset)` | Loads a vector from a byte array starting at an offset.
  `static LongVector` | LongVector.`fromByteArray​(VectorSpecies<Long> species, byte[] a, int offset, ByteOrder bo)` | Loads a vector from a byte array starting at an offset.
  `static LongVector` | LongVector.`fromByteArray​(VectorSpecies<Long> species, byte[] a, int offset, ByteOrder bo, VectorMask<Long> m)` | Loads a vector from a byte array starting at an offset and using a mask.
  `static LongVector` | LongVector.`fromByteArray​(VectorSpecies<Long> species, byte[] a, int offset, VectorMask<Long> m)` | Loads a vector from a byte array starting at an offset and using a mask.
  `static LongVector` | LongVector.`fromByteBuffer​(VectorSpecies<Long> species, ByteBuffer bb, int offset, ByteOrder bo)` | Loads a vector from a byte buffer starting at an offset into the byte buffer.
  `static LongVector` | LongVector.`fromByteBuffer​(VectorSpecies<Long> species, ByteBuffer bb, int offset, ByteOrder bo, VectorMask<Long> m)` | Loads a vector from a byte buffer starting at an offset into the byte buffer and using a mask.
  `static LongVector` | LongVector.`fromValues​(VectorSpecies<Long> species, long... es)` | Returns a vector where each lane element is set to given primitive values.
  `LongVector` | LongVector.`lanewise​(VectorOperators.Binary op, long e)` | Combines the lane values of this vector with the value of a broadcast scalar.
  `LongVector` | LongVector.`lanewise​(VectorOperators.Binary op, long e, VectorMask<Long> m)` | Combines the lane values of this vector with the value of a broadcast scalar, with selection of lane elements controlled by a mask.
  `abstract LongVector` | LongVector.`lanewise​(VectorOperators.Binary op, Vector<Long> v)` | Combines the corresponding lane values of this vector with those of a second input vector.
  `LongVector` | LongVector.`lanewise​(VectorOperators.Binary op, Vector<Long> v, VectorMask<Long> m)` | Combines the corresponding lane values of this vector with those of a second input vector, with selection of lane elements controlled by a mask.
  `LongVector` | LongVector.`lanewise​(VectorOperators.Ternary op, long e1, long e2)` | Combines the lane values of this vector with the values of two broadcast scalars.
  `LongVector` | LongVector.`lanewise​(VectorOperators.Ternary op, long e1, long e2, VectorMask<Long> m)` | Combines the lane values of this vector with the values of two broadcast scalars, with selection of lane elements controlled by a mask.
  `LongVector` | LongVector.`lanewise​(VectorOperators.Ternary op, long e1, Vector<Long> v2)` | Combines the lane values of this vector with the values of another vector and a broadcast scalar.
  `LongVector` | LongVector.`lanewise​(VectorOperators.Ternary op, long e1, Vector<Long> v2, VectorMask<Long> m)` | Combines the lane values of this vector with the values of another vector and a broadcast scalar, with selection of lane elements controlled by a mask.
  `LongVector` | LongVector.`lanewise​(VectorOperators.Ternary op, Vector<Long> v1, long e2)` | Combines the lane values of this vector with the values of another vector and a broadcast scalar.
  `LongVector` | LongVector.`lanewise​(VectorOperators.Ternary op, Vector<Long> v1, long e2, VectorMask<Long> m)` | Combines the lane values of this vector with the values of another vector and a broadcast scalar, with selection of lane elements controlled by a mask.
  `abstract LongVector` | LongVector.`lanewise​(VectorOperators.Ternary op, Vector<Long> v1, Vector<Long> v2)` | Combines the corresponding lane values of this vector with the lanes of a second and a third input vector.
  `LongVector` | LongVector.`lanewise​(VectorOperators.Ternary op, Vector<Long> v1, Vector<Long> v2, VectorMask<Long> m)` | Combines the corresponding lane values of this vector with the lanes of a second and a third input vector, with selection of lane elements controlled by a mask.
  `abstract LongVector` | LongVector.`lanewise​(VectorOperators.Unary op)` | Operates on the lane values of this vector.
  `LongVector` | LongVector.`lanewise​(VectorOperators.Unary op, VectorMask<Long> m)` | Operates on the lane values of this vector, with selection of lane elements controlled by a mask.
  `LongVector` | LongVector.`max​(long e)` | Computes the larger of this vector and the broadcast of an input scalar.
  `LongVector` | LongVector.`max​(Vector<Long> v)` | Computes the larger of this vector and a second input vector.
  `LongVector` | LongVector.`min​(long e)` | Computes the smaller of this vector and the broadcast of an input scalar.
  `LongVector` | LongVector.`min​(Vector<Long> v)` | Computes the smaller of this vector and a second input vector.
  `LongVector` | LongVector.`mul​(long e)` | Multiplies this vector by the broadcast of an input scalar.
  `LongVector` | LongVector.`mul​(long e, VectorMask<Long> m)` | Multiplies this vector by the broadcast of an input scalar, selecting lane elements controlled by a mask.
  `LongVector` | LongVector.`mul​(Vector<Long> v)` | Multiplies this vector by a second input vector.
  `LongVector` | LongVector.`mul​(Vector<Long> v, VectorMask<Long> m)` | Multiplies this vector by a second input vector under the control of a mask.
  `LongVector` | LongVector.`neg()` | Negates this vector.
  `LongVector` | LongVector.`not()` | Computes the bitwise logical complement (`~`) of this vector.
  `LongVector` | LongVector.`or​(long e)` | Computes the bitwise logical disjunction (`|`) of this vector and a scalar.
  `LongVector` | LongVector.`or​(Vector<Long> v)` | Computes the bitwise logical disjunction (`|`) of this vector and a second input vector.
  `abstract LongVector` | LongVector.`rearrange​(VectorShuffle<Long> m)` | Rearranges the lane elements of this vector, selecting lanes under the control of a specific shuffle.
  `abstract LongVector` | LongVector.`rearrange​(VectorShuffle<Long> s, Vector<Long> v)` | Rearranges the lane elements of two vectors, selecting lanes under the control of a specific shuffle, using both normal and exceptional indexes in the shuffle to steer data.
  `abstract LongVector` | LongVector.`rearrange​(VectorShuffle<Long> s, VectorMask<Long> m)` | Rearranges the lane elements of this vector, selecting lanes under the control of a specific shuffle and a mask.
  `abstract LongVector` | Vector.`reinterpretAsLongs()` | Reinterprets this vector as a vector of the same shape and contents but a lane type of `long`, where the lanes are assembled from successive bytes according to little-endian order.
  `abstract LongVector` | LongVector.`selectFrom​(Vector<Long> v)` | Using index values stored in the lanes of this vector, assemble values stored in second vector `v`.
  `abstract LongVector` | LongVector.`selectFrom​(Vector<Long> s, VectorMask<Long> m)` | Using index values stored in the lanes of this vector, assemble values stored in second vector, under the control of a mask.
  `abstract LongVector` | LongVector.`slice​(int origin)` | Slices a segment of adjacent lanes, starting at a given `origin` lane in the current vector.
  `abstract LongVector` | LongVector.`slice​(int origin, Vector<Long> v1)` | Slices a segment of adjacent lanes, starting at a given `origin` lane in the current vector, and continuing (as needed) into an immediately following vector.
  `LongVector` | LongVector.`slice​(int origin, Vector<Long> w, VectorMask<Long> m)` | Slices a segment of adjacent lanes under the control of a mask, starting at a given `origin` lane in the current vector, and continuing (as needed) into an immediately following vector.
  `LongVector` | LongVector.`sub​(long e)` | Subtracts an input scalar from this vector.
  `LongVector` | LongVector.`sub​(long e, VectorMask<Long> m)` | Subtracts an input scalar from this vector under the control of a mask.
  `LongVector` | LongVector.`sub​(Vector<Long> v)` | Subtracts a second input vector from this vector.
  `LongVector` | LongVector.`sub​(Vector<Long> v, VectorMask<Long> m)` | Subtracts a second input vector from this vector under the control of a mask.
  `abstract LongVector` | LongVector.`unslice​(int origin)` | Reverses a slice(), inserting the current vector as a slice within a "background" input of zero lane values.
  `abstract LongVector` | LongVector.`unslice​(int origin, Vector<Long> w, int part)` | Reverses a slice(), inserting the current vector as a slice within another "background" input vector, which is regarded as one or the other input to a hypothetical subsequent `slice()` operation.
  `abstract LongVector` | LongVector.`unslice​(int origin, Vector<Long> w, int part, VectorMask<Long> m)` | Reverses a slice(), inserting (under the control of a mask) the current vector as a slice within another "background" input vector, which is regarded as one or the other input to a hypothetical subsequent `slice()` operation.
  `LongVector` | DoubleVector.`viewAsIntegralLanes()` | Views this vector as a vector of the same shape, length, and contents, but a lane type that is not a floating-point type.
  `LongVector` | LongVector.`viewAsIntegralLanes()` | Views this vector as a vector of the same shape, length, and contents, but a lane type that is not a floating-point type.
  `abstract LongVector` | LongVector.`withLane​(int i, long e)` | Replaces the lane element of this vector at lane index `i` with value `e`.
  `static LongVector` | LongVector.`zero​(VectorSpecies<Long> species)` |