# Uses of Class
jdk.incubator.vector.IntVector

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

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

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