Vector representing an ordered immutable sequence of
int values.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static interface | |
| pack-priv static interface | |
| pack-priv static interface | |
| pack-priv static interface | |
| pack-priv static interface | |
| pack-priv static interface | |
| pack-priv static interface | |
| pack-priv static interface | |
| pack-priv static interface | |
| pack-priv static class | IntVector.
Class representing |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final IntVector | abs()
Implements abstract jdk. Returns the absolute value of this vector. |
| public final IntVector | add(Vector<Integer> v)
Implements abstract jdk. Adds this vector to a second input vector. |
| public final IntVector | Returns: the result of adding each lane of this vector to the scalarthe input scalar e)Adds this vector to the broadcast of an input scalar. |
| public final IntVector | add(Vector<Integer> v, VectorMask<Integer> m)
Implements abstract jdk. Adds this vector to a second input vector, selecting lanes under the control of a mask. |
| public final IntVector | Returns: the result of adding each lane of this vector to the scalarthe input scalar e, VectorMask<Integer> the mask controlling lane selection m)Adds this vector to the broadcast of an input scalar, selecting lane elements controlled by a mask. |
| public abstract IntVector | addIndex(int scale)
Implements abstract jdk. Adds the lanes of this vector to their corresponding lane numbers, scaled by a given constant. |
| pack-priv final IntVector | |
| public final IntVector | |
| public final IntVector | Returns: the bitwise& of this vector and scalaran input scalar e)Computes the bitwise logical conjunction ( |
| pack-priv static long | |
| private static VectorSupport. | |
| pack-priv final <F> VectorShuffle | bitsToShuffle0(AbstractSpecies<F> dsp)
Implements abstract jdk.
|
| public final IntVector | Returns: the bitwise blend of the given bits into the current vector, under control of the bitwise maskinput bits to blend into the current vector bits, Vector<Integer> a bitwise mask to enable blending of the input bits mask)Blends together the bits of two vectors under the control of a third, which supplies mask bits. |
| public final IntVector | Returns: the bitwise blend of the given bits into the current vector, under control of the bitwise maskinput bits to blend into the current vector bits, int a bitwise mask to enable blending of the input bits mask)Blends together the bits of a vector and a scalar under the control of another scalar, which supplies mask bits. |
| public final IntVector | Returns: the bitwise blend of the given bits into the current vector, under control of the bitwise maskinput bits to blend into the current vector bits, Vector<Integer> a bitwise mask to enable blending of the input bits mask)Blends together the bits of a vector and a scalar under the control of another vector, which supplies mask bits. |
| public final IntVector | Returns: the bitwise blend of the given bits into the current vector, under control of the bitwise maskinput bits to blend into the current vector bits, int a bitwise mask to enable blending of the input bits mask)Blends together the bits of two vectors under the control of a scalar, which supplies mask bits. |
| public abstract IntVector | blend(Vector<Integer> v, VectorMask<Integer> m)
Implements abstract jdk. Replaces selected lanes of this vector with corresponding lanes from a second input vector under the control of a mask. |
| public final IntVector | Returns: the result of blending the lane elements of this vector with the scalar valuethe input scalar, containing the replacement lane value e, VectorMask<Integer> the mask controlling lane selection of the scalar m)Replaces selected lanes of this vector with a scalar value under the control of a mask. |
| public final IntVector | Returns: the result of blending the lane elements of this vector with the scalar valuethe input scalar, containing the replacement lane value e, VectorMask<Integer> the mask controlling lane selection of the scalar m)Implements abstract jdk. Replaces selected lanes of this vector with a scalar value under the control of a mask. |
| pack-priv final <M extends VectorMask | |
| pack-priv abstract IntVector | |
| pack-priv abstract IntVector | |
| pack-priv final IntVector | |
| pack-priv final IntVector | |
| public abstract IntVector | Returns: a vector where all lane elements are set to the primitive valueethe value to broadcast e)Returns a vector of the same species as this one
where all lane elements are set to
the primitive value |
| public static IntVector | Returns: a vector where all lane elements are set to the primitive valueespecies of the desired vector species, int the value to broadcast e)Returns a vector of the given species
where all lane elements are set to
the primitive value |
| public abstract IntVector | broadcast(long e)
Implements abstract jdk. Returns a vector of the same species as this one
where all lane elements are set to
the primitive value |
| public static IntVector | Returns: a vector where all lane elements are set to the primitive valueespecies of the desired vector species, long the value to broadcast e)Returns a vector of the given species
where all lane elements are set to
the primitive value |
| private static VectorSupport. | |
| pack-priv final IntVector | |
| pack-priv final IntVector | |
| pack-priv final AbstractMask | |
| pack-priv static long | |
| public abstract VectorMask | compare(VectorOperators.
Implements abstract jdk. Tests this vector by comparing it with another input vector, according to the given comparison operation. |
| public abstract VectorMask | Returns: the mask result of testing lane-wise if this vector compares to the input, according to the selected comparison operatorthe operation used to compare lane values op,the input scalar e)Tests this vector by comparing it with an input scalar, according to the given comparison operation. |
| public final VectorMask | Returns: the mask result of testing lane-wise if this vector compares to the input, according to the selected comparison operator, and only in the lanes selected by the maskthe operation used to compare lane values op,the input scalar e, VectorMask<Integer> the mask controlling lane selection m)Tests this vector by comparing it with an input scalar, according to the given comparison operation, in lanes selected by a mask. |
| public abstract VectorMask | compare(VectorOperators.
Implements abstract jdk. Tests this vector by comparing it with an input scalar, according to the given comparison operation. |
| public final VectorMask | compare(VectorOperators.
Implements abstract jdk. Tests this vector by comparing it with an input scalar, according to the given comparison operation, in lanes selected by a mask. |
| pack-priv final <M extends VectorMask | |
| pack-priv final <M extends VectorMask | |
| pack-priv final <M extends VectorMask | |
| pack-priv final <M extends VectorMask | |
| private static boolean | |
| public abstract IntVector | compress(VectorMask<Integer> m)
Implements abstract jdk. Compresses the lane elements of this vector selecting lanes under the control of a specific mask. |
| pack-priv static IntVector | |
| pack-priv final <M extends AbstractMask | |
| private void | conditionalStoreNYI(int offset, IntVector.
|
| public final IntVector | div(Vector<Integer> v)
Implements abstract jdk. Divides this vector by a second input vector. |
| public final IntVector | Returns: the result of dividing each lane of this vector by the scalarthe input scalar e)Divides this vector by the broadcast of an input scalar. |
| public final IntVector | div(Vector<Integer> v, VectorMask<Integer> m)
Implements abstract jdk. Divides this vector by a second input vector under the control of a mask. |
| public final IntVector | Returns: the result of dividing each lane of this vector by the scalarthe input scalar e, VectorMask<Integer> the mask controlling lane selection m)Divides this vector by the broadcast of an input scalar, selecting lane elements controlled by a mask. |
| public final VectorMask | eq(Vector<Integer> v)
Implements abstract jdk. Tests if this vector is equal to another input vector. |
| public final VectorMask | Returns: the result mask of testing if this vector is equal toethe input scalar e)Tests if this vector is equal to an input scalar. |
| public final boolean | equals(Object obj)
Implements abstract jdk. Indicates whether this vector is identical to some other object. |
| public abstract IntVector | expand(VectorMask<Integer> m)
Implements abstract jdk. Expands the lane elements of this vector under the control of a specific mask. |
| pack-priv static IntVector | |
| pack-priv final <M extends AbstractMask | |
| public static IntVector | Returns: the vector loaded from an arrayspecies of desired vector species, int[] the array a, int the offset into the array offset)Loads a vector from an array of type |
| public static IntVector | Returns: the vector loaded from an arrayspecies of desired vector species, int[] the array a, int the offset into the array offset, VectorMask<Integer> the mask controlling lane selection m)Loads a vector from an array of type |
| public static IntVector | Returns: the vector loaded from the indexed elements of the arrayspecies of desired vector species, int[] the array a, int the offset into the array, may be negative if relative
indexes in the index map compensate to produce a value within the
array bounds offset, int[] the index map indexMap, int the offset into the index map mapOffset)Gathers a new vector composed of elements from an array of type
|
| public static IntVector | Returns: the vector loaded from the indexed elements of the arrayspecies of desired vector species, int[] the array a, int the offset into the array, may be negative if relative
indexes in the index map compensate to produce a value within the
array bounds offset, int[] the index map indexMap, int the offset into the index map mapOffset, VectorMask<Integer> the mask controlling lane selection m)Gathers a new vector composed of elements from an array of type
|
| pack-priv abstract IntVector | |
| pack-priv abstract IntVector | |
| pack-priv abstract IntVector | |
| pack-priv final IntVector | |
| pack-priv final <M extends VectorMask | |
| pack-priv final <M extends VectorMask | |
| pack-priv static int | |
| public static IntVector | Returns: a vector loaded from the memory segmentspecies of desired vector species, MemorySegment the memory segment ms, long the offset into the memory segment offset, ByteOrder the intended byte order bo)Loads a vector from a memory segment starting at an offset into the memory segment. |
| public static IntVector | Returns: a vector loaded from the memory segmentspecies of desired vector species, MemorySegment the memory segment ms, long the offset into the memory segment offset, ByteOrder the intended byte order bo, VectorMask<Integer> the mask controlling lane selection m)Loads a vector from a memory segment starting at an offset into the memory segment and using a mask. |
| pack-priv abstract IntVector | fromMemorySegment0(MemorySegment bb, long offset)
Implements abstract jdk.
|
| pack-priv abstract IntVector | |
| pack-priv final IntVector | |
| pack-priv final <M extends VectorMask | fromMemorySegment0Template(Class<M> maskClass, MemorySegment ms, long offset, M m, int offsetInRange)
|
| public final int | hashCode()
Implements abstract jdk. Returns a hash code value for the vector. |
| public final void | intoArray(int[]
the array, of type a, int int[]the offset into the array offset)Stores this vector into an array of type |
| public final void | intoArray(int[]
the array, of type a, int int[]the offset into the array offset, VectorMask<Integer> the mask controlling lane storage m)Stores this vector into an array of type |
| public final void | intoArray(int[]
the array a, int an offset to combine with the index map offsets offset, int[] the index map indexMap, int the offset into the index map mapOffset)Scatters this vector into an array of type |
| public final void | intoArray(int[]
the array a, int an offset to combine with the index map offsets offset, int[] the index map indexMap, int the offset into the index map mapOffset, VectorMask<Integer> the mask m)Scatters this vector into an array of type |
| pack-priv abstract void | |
| pack-priv abstract void | |
| pack-priv abstract void | |
| pack-priv final void | |
| pack-priv final <M extends VectorMask | |
| pack-priv final <M extends VectorMask | |
| public final void | intoMemorySegment(MemorySegment ms, long offset, ByteOrder bo)
Implements abstract jdk. Stores this vector into a memory segment starting at an offset using explicit byte order. |
| public final void | intoMemorySegment(MemorySegment ms, long offset, ByteOrder bo, VectorMask<Integer> m)
Implements abstract jdk. Stores this vector into a memory segment starting at an offset using explicit byte order and a mask. |
| pack-priv final void | |
| pack-priv abstract void | |
| pack-priv final <M extends VectorMask | |
| public abstract int | Returns: the lane element at lane indexithe lane index i)Gets the lane element at lane index |
| public abstract IntVector | lanewise(VectorOperators.
Implements abstract jdk. Operates on the lane values of this vector. |
| public abstract IntVector | lanewise(VectorOperators.
Implements abstract jdk. Operates on the lane values of this vector, with selection of lane elements controlled by a mask. |
| public abstract IntVector | lanewise(VectorOperators.
Implements abstract jdk. Combines the corresponding lane values of this vector with those of a second input vector. |
| public abstract IntVector | lanewise(VectorOperators.
Implements abstract jdk. Combines the corresponding lane values of this vector with those of a second input vector, with selection of lane elements controlled by a mask. |
| public final IntVector | Returns: the result of applying the operation lane-wise to the two input vectorsthe operation used to process lane values op,the input scalar e)Combines the lane values of this vector with the value of a broadcast scalar. |
| public final IntVector | Returns: the result of applying the operation lane-wise to the input vector and the scalarthe operation used to process lane values op,the input scalar e, VectorMask<Integer> the mask controlling lane selection m)Combines the lane values of this vector with the value of a broadcast scalar, with selection of lane elements controlled by a mask. |
| public final IntVector | lanewise(VectorOperators.
Implements abstract jdk. Combines the lane values of this vector with the value of a broadcast scalar. |
| public final IntVector | lanewise(VectorOperators.
Implements abstract jdk. Combines the corresponding lane values of this vector with those of a second input vector, with selection of lane elements controlled by a mask. |
| public abstract IntVector | lanewise(VectorOperators.
Implements abstract jdk. Combines the corresponding lane values of this vector with the lanes of a second and a third input vector. |
| public abstract IntVector | lanewise(VectorOperators.
Implements abstract jdk. 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. |
| public final IntVector | Returns: the result of applying the operation lane-wise to the input vector and the scalarsthe operation used to combine lane values op,the first input scalar e1, int the second input scalar e2)Combines the lane values of this vector with the values of two broadcast scalars. |
| public final IntVector | Returns: the result of applying the operation lane-wise to the input vector and the scalarsthe operation used to combine lane values op,the first input scalar e1, int the second input scalar e2, VectorMask<Integer> the mask controlling lane selection m)Combines the lane values of this vector with the values of two broadcast scalars, with selection of lane elements controlled by a mask. |
| public final IntVector | Returns: the result of applying the operation lane-wise to the input vectors and the scalarthe operation used to combine lane values op,the other input vector v1, int the input scalar e2)Combines the lane values of this vector with the values of another vector and a broadcast scalar. |
| public final IntVector | Returns: the result of applying the operation lane-wise to the input vectors and the scalarthe operation used to combine lane values op,the other input vector v1, int the input scalar e2, VectorMask<Integer> the mask controlling lane selection 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. |
| public final IntVector | Returns: the result of applying the operation lane-wise to the input vectors and the scalarthe operation used to combine lane values op,the input scalar e1, Vector<Integer> the other input vector v2)Combines the lane values of this vector with the values of another vector and a broadcast scalar. |
| public final IntVector | Returns: the result of applying the operation lane-wise to the input vectors and the scalarthe operation used to combine lane values op,the input scalar e1, Vector<Integer> the other input vector v2, VectorMask<Integer> the mask controlling lane selection 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. |
| pack-priv abstract IntVector | |
| pack-priv abstract IntVector | |
| pack-priv final IntVector | |
| pack-priv final IntVector | lanewiseShiftTemplate(VectorOperators.
|
| pack-priv final IntVector | |
| pack-priv final IntVector | lanewiseTemplate(VectorOperators.
|
| pack-priv final IntVector | |
| pack-priv final IntVector | lanewiseTemplate(VectorOperators.
|
| pack-priv final IntVector | |
| pack-priv final IntVector | lanewiseTemplate(VectorOperators.
|
| pack-priv final IntVector | |
| pack-priv final IntVector | |
| pack-priv final <M> IntVector | |
| pack-priv final <M> IntVector | |
| public final VectorMask | lt(Vector<Integer> v)
Implements abstract jdk. Tests if this vector is less than another input vector. |
| public final VectorMask | Returns: the mask result of testing if this vector is less than the input scalarthe input scalar e)Tests if this vector is less than an input scalar. |
| pack-priv final AbstractMask | |
| public final IntVector | max(Vector<Integer> v)
Implements abstract jdk. Computes the larger of this vector and a second input vector. |
| public final IntVector | Returns: the result of multiplying this vector by the given scalarthe input scalar e)Computes the larger of this vector and the broadcast of an input scalar. |
| pack-priv final IntVector | |
| pack-priv static int | |
| pack-priv static void | |
| public final IntVector | min(Vector<Integer> v)
Implements abstract jdk. Computes the smaller of this vector and a second input vector. |
| public final IntVector | Returns: the result of multiplying this vector by the given scalarthe input scalar e)Computes the smaller of this vector and the broadcast of an input scalar. |
| public final IntVector | mul(Vector<Integer> v)
Implements abstract jdk. Multiplies this vector by a second input vector. |
| public final IntVector | Returns: the result of multiplying this vector by the given scalarthe input scalar e)Multiplies this vector by the broadcast of an input scalar. |
| public final IntVector | mul(Vector<Integer> v, VectorMask<Integer> m)
Implements abstract jdk. Multiplies this vector by a second input vector under the control of a mask. |
| public final IntVector | Returns: the result of muling each lane of this vector to the scalarthe input scalar e, VectorMask<Integer> the mask controlling lane selection m)Multiplies this vector by the broadcast of an input scalar, selecting lane elements controlled by a mask. |
| public final IntVector | |
| public final IntVector | Returns: the bitwise complement~ of this vectorComputes the bitwise logical complement ( |
| pack-priv static int | |
| pack-priv static int | |
| pack-priv static boolean | |
| public final IntVector | |
| public final IntVector | Returns: the bitwise| of this vector and scalaran input scalar e)Computes the bitwise logical disjunction ( |
| public abstract IntVector | rearrange(VectorShuffle<Integer> shuffle)
Implements abstract jdk. Rearranges the lane elements of this vector, selecting lanes under the control of a specific shuffle. |
| public abstract IntVector | rearrange(VectorShuffle<Integer> s, VectorMask<Integer> m)
Implements abstract jdk. Rearranges the lane elements of this vector, selecting lanes under the control of a specific shuffle and a mask. |
| public abstract IntVector | rearrange(VectorShuffle<Integer> s, Vector<Integer> v)
Implements abstract jdk. 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. |
| pack-priv final <S extends VectorShuffle | |
| pack-priv final <S extends VectorShuffle | |
| pack-priv final <S extends VectorShuffle | |
| public abstract int | Returns: the accumulated resultthe operation used to combine lane values opReturns a value accumulated from all the lanes of this vector. |
| public abstract int | Returns: the reduced result accumulated from the selected lane valuesthe operation used to combine lane values op,the mask controlling lane selection m)Returns a value accumulated from selected lanes of this vector, controlled by a mask. |
| pack-priv final int | reduceLanesTemplate(VectorOperators.
|
| pack-priv final int | |
| public abstract long | reduceLanesToLong(VectorOperators.
Implements abstract jdk. Returns a value accumulated from all the lanes of this vector. |
| public abstract long | reduceLanesToLong(VectorOperators.
Implements abstract jdk. Returns a value accumulated from selected lanes of this vector, controlled by a mask. |
| private static VectorSupport. | |
| public final ByteVector | reinterpretAsBytes()
Implements abstract jdk. Views this vector as a vector of the same shape
and contents but a lane type of |
| pack-priv abstract int | |
| pack-priv final int | |
| pack-priv final int | |
| pack-priv static int | |
| pack-priv static int | |
| public abstract IntVector | selectFrom(Vector<Integer> v)
Implements abstract jdk. Using index values stored in the lanes of this vector,
assemble values stored in second vector |
| public abstract IntVector | selectFrom(Vector<Integer> s, VectorMask<Integer> m)
Implements abstract jdk. Using index values stored in the lanes of this vector, assemble values stored in second vector, under the control of a mask. |
| public abstract IntVector | selectFrom(Vector<Integer> v1, Vector<Integer> v2)
Implements abstract jdk. Using values stored in the lanes of this vector,
assemble values stored in the second vector |
| pack-priv final IntVector | |
| pack-priv final <M extends VectorMask | |
| pack-priv final IntVector | |
| pack-priv static IntVector | |
| public abstract IntVector | slice(int origin, Vector<Integer> v1)
Implements abstract jdk. Slices a segment of adjacent lanes, starting at a given
|
| public final IntVector | slice(int origin, Vector<Integer> w, VectorMask<Integer> m)
Implements abstract jdk. Slices a segment of adjacent lanes
under the control of a mask,
starting at a given
|
| public abstract IntVector | slice(int origin)
Implements abstract jdk. Slices a segment of adjacent lanes, starting at a given
|
| pack-priv final IntVector | |
| pack-priv final IntVector | |
| pack-priv static IntVector. | Returns: a species for an element type ofint and shapethe shape s)Finds a species for an element type of |
| pack-priv final void | |
| pack-priv final void | |
| pack-priv final <M> void | |
| pack-priv final <M> void | |
| public final IntVector | sub(Vector<Integer> v)
Implements abstract jdk. Subtracts a second input vector from this vector. |
| public final IntVector | Returns: the result of subtracting the scalar from each lane of this vectorthe input scalar e)Subtracts an input scalar from this vector. |
| public final IntVector | sub(Vector<Integer> v, VectorMask<Integer> m)
Implements abstract jdk. Subtracts a second input vector from this vector under the control of a mask. |
| public final IntVector | Returns: the result of subtracting the scalar from each lane of this vectorthe input scalar e, VectorMask<Integer> the mask controlling lane selection m)Subtracts an input scalar from this vector under the control of a mask. |
| pack-priv final IntVector | swapIfNeeded(AbstractSpecies<?> srcSpecies)
Implements abstract jdk.
|
| private static VectorSupport. | |
| public abstract VectorMask | test(VectorOperators.
Implements abstract jdk. Tests the lanes of this vector according to the given operation. |
| public abstract VectorMask | test(VectorOperators.
Implements abstract jdk. Test selected lanes of this vector, according to the given operation. |
| pack-priv final <M extends VectorMask | |
| pack-priv final <M extends VectorMask | |
| public final int[] | Returns: an array containing the lane values of this vectorImplements abstract jdk. Returns an array of type |
| pack-priv static long | |
| public final double[] | toDoubleArray()
Implements abstract jdk. Returns a |
| public final int[] | toIntArray()
Implements abstract jdk. Returns an |
| public final long[] | toLongArray()
Implements abstract jdk. Returns a |
| pack-priv abstract IntVector | |
| pack-priv abstract IntVector | |
| pack-priv final IntVector | |
| pack-priv final IntVector | |
| pack-priv final <F> VectorShuffle | toShuffle(AbstractSpecies<F> dsp, boolean wrap)
Implements abstract jdk.
|
| public final String | Returns: a string of the form"[0,1,2...]"
reporting the lane values of this vectorImplements abstract jdk. Returns a string representation of this vector, of the form
|
| private static VectorSupport. | |
| public abstract IntVector | unslice(int origin, Vector<Integer> w, int part)
Implements abstract jdk. 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 |
| public abstract IntVector | unslice(int origin, Vector<Integer> w, int part, VectorMask<Integer> m)
Implements abstract jdk. 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 |
| public abstract IntVector | unslice(int origin)
Implements abstract jdk. Reverses a slice(), inserting the current vector as a slice within a "background" input of zero lane values. |
| pack-priv final IntVector | |
| pack-priv final <M extends VectorMask | |
| pack-priv final IntVector | |
| pack-priv abstract IntVector | |
| pack-priv abstract IntVector | |
| pack-priv final IntVector | |
| pack-priv final IntVector | |
| pack-priv abstract int[] | |
| pack-priv abstract IntVector | |
| public final FloatVector | viewAsFloatingLanes()
Implements abstract jdk. Views this vector as a vector of the same shape, length, and contents, but a lane type that is a floating-point type. |
| public final IntVector | viewAsIntegralLanes()
Implements abstract jdk. Views this vector as a vector of the same shape, length, and contents, but a lane type that is not a floating-point type. |
| pack-priv final IntVector | |
| pack-priv final IntVector | |
| pack-priv abstract IntVector. | |
| public abstract IntVector | Returns: the result of replacing the lane element of this vector at lane indexi with value e.the lane index of the lane element to be replaced i, int the value to be placed e)Replaces the lane element of this vector at lane index |
| private ArrayIndexOutOfBoundsException | |
| public static IntVector | Returns: a zero vectorspecies of the desired zero vector species)Returns a vector of the given species where all lane elements are set to zero, the default primitive value. |