Uses of Class
jdk.incubator.vector.ByteVector
Packages that use ByteVector
-
Uses of ByteVector in jdk.incubator.vector
Methods in jdk.incubator.vector that return ByteVectorModifier and TypeMethodDescriptionfinal ByteVectorByteVector.abs()Returns the absolute value of this vector.final ByteVectorByteVector.add(byte e) Adds this vector to the broadcast of an input scalar.final ByteVectorByteVector.add(byte e, VectorMask<Byte> m) Adds this vector to the broadcast of an input scalar, selecting lane elements controlled by a mask.final ByteVectorAdds this vector to a second input vector.final ByteVectorByteVector.add(Vector<Byte> v, VectorMask<Byte> m) Adds this vector to a second input vector, selecting lanes under the control of a mask.abstract ByteVectorByteVector.addIndex(int scale) Adds the lanes of this vector to their corresponding lane numbers, scaled by a given constant.final ByteVectorByteVector.and(byte e) Computes the bitwise logical conjunction (&) of this vector and a scalar.final ByteVectorComputes the bitwise logical conjunction (&) of this vector and a second input vector.final ByteVectorByteVector.bitwiseBlend(byte bits, byte mask) Blends together the bits of a vector and a scalar under the control of another scalar, which supplies mask bits.final ByteVectorByteVector.bitwiseBlend(byte bits, Vector<Byte> mask) Blends together the bits of a vector and a scalar under the control of another vector, which supplies mask bits.final ByteVectorByteVector.bitwiseBlend(Vector<Byte> bits, byte mask) Blends together the bits of two vectors under the control of a scalar, which supplies mask bits.final ByteVectorByteVector.bitwiseBlend(Vector<Byte> bits, Vector<Byte> mask) Blends together the bits of two vectors under the control of a third, which supplies mask bits.final ByteVectorByteVector.blend(byte e, VectorMask<Byte> m) Replaces selected lanes of this vector with a scalar value under the control of a mask.final ByteVectorByteVector.blend(long e, VectorMask<Byte> m) Replaces selected lanes of this vector with a scalar value under the control of a mask.abstract ByteVectorByteVector.blend(Vector<Byte> v, VectorMask<Byte> m) Replaces selected lanes of this vector with corresponding lanes from a second input vector under the control of a mask.abstract ByteVectorByteVector.broadcast(byte e) Returns a vector of the same species as this one where all lane elements are set to the primitive valuee.abstract ByteVectorByteVector.broadcast(long e) Returns a vector of the same species as this one where all lane elements are set to the primitive valuee.static ByteVectorByteVector.broadcast(VectorSpecies<Byte> species, byte e) Returns a vector of the given species where all lane elements are set to the primitive valuee.static ByteVectorByteVector.broadcast(VectorSpecies<Byte> species, long e) Returns a vector of the given species where all lane elements are set to the primitive valuee.abstract ByteVectorByteVector.compress(VectorMask<Byte> m) Compresses the lane elements of this vector selecting lanes under the control of a specific mask.final ByteVectorByteVector.div(byte e) Divides this vector by the broadcast of an input scalar.final ByteVectorByteVector.div(byte e, VectorMask<Byte> m) Divides this vector by the broadcast of an input scalar, selecting lane elements controlled by a mask.final ByteVectorDivides this vector by a second input vector.final ByteVectorByteVector.div(Vector<Byte> v, VectorMask<Byte> m) Divides this vector by a second input vector under the control of a mask.abstract ByteVectorByteVector.expand(VectorMask<Byte> m) Expands the lane elements of this vector under the control of a specific mask.static ByteVectorByteVector.fromArray(VectorSpecies<Byte> species, byte[] a, int offset) Loads a vector from an array of typebyte[]starting at an offset.static ByteVectorByteVector.fromArray(VectorSpecies<Byte> species, byte[] a, int offset, int[] indexMap, int mapOffset) Gathers a new vector composed of elements from an array of typebyte[], using indexes obtained by adding a fixedoffsetto a series of secondary offsets from an index map.static ByteVectorByteVector.fromArray(VectorSpecies<Byte> species, byte[] a, int offset, int[] indexMap, int mapOffset, VectorMask<Byte> m) Gathers a new vector composed of elements from an array of typebyte[], under the control of a mask, and using indexes obtained by adding a fixedoffsetto a series of secondary offsets from an index map.static ByteVectorByteVector.fromArray(VectorSpecies<Byte> species, byte[] a, int offset, VectorMask<Byte> m) Loads a vector from an array of typebyte[]starting at an offset and using a mask.static ByteVectorByteVector.fromBooleanArray(VectorSpecies<Byte> species, boolean[] a, int offset) Loads a vector from an array of typeboolean[]starting at an offset.static ByteVectorByteVector.fromBooleanArray(VectorSpecies<Byte> species, boolean[] a, int offset, int[] indexMap, int mapOffset) Gathers a new vector composed of elements from an array of typeboolean[], using indexes obtained by adding a fixedoffsetto a series of secondary offsets from an index map.static ByteVectorByteVector.fromBooleanArray(VectorSpecies<Byte> species, boolean[] a, int offset, int[] indexMap, int mapOffset, VectorMask<Byte> m) Gathers a new vector composed of elements from an array of typeboolean[], under the control of a mask, and using indexes obtained by adding a fixedoffsetto a series of secondary offsets from an index map.static ByteVectorByteVector.fromBooleanArray(VectorSpecies<Byte> species, boolean[] a, int offset, VectorMask<Byte> m) Loads a vector from an array of typeboolean[]starting at an offset and using a mask.static ByteVectorByteVector.fromMemorySegment(VectorSpecies<Byte> species, MemorySegment ms, long offset, ByteOrder bo) Loads a vector from a memory segment starting at an offset into the memory segment.static ByteVectorByteVector.fromMemorySegment(VectorSpecies<Byte> species, MemorySegment ms, long offset, ByteOrder bo, VectorMask<Byte> m) Loads a vector from a memory segment starting at an offset into the memory segment and using a mask.final ByteVectorByteVector.lanewise(VectorOperators.Binary op, byte e) Combines the lane values of this vector with the value of a broadcast scalar.final ByteVectorByteVector.lanewise(VectorOperators.Binary op, byte e, VectorMask<Byte> 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 ByteVectorByteVector.lanewise(VectorOperators.Binary op, long e) Combines the lane values of this vector with the value of a broadcast scalar.final ByteVectorByteVector.lanewise(VectorOperators.Binary op, long e, VectorMask<Byte> 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 ByteVectorByteVector.lanewise(VectorOperators.Binary op, Vector<Byte> v) Combines the corresponding lane values of this vector with those of a second input vector.abstract ByteVectorByteVector.lanewise(VectorOperators.Binary op, Vector<Byte> v, VectorMask<Byte> 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 ByteVectorByteVector.lanewise(VectorOperators.Ternary op, byte e1, byte e2) Combines the lane values of this vector with the values of two broadcast scalars.final ByteVectorByteVector.lanewise(VectorOperators.Ternary op, byte e1, byte e2, VectorMask<Byte> 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 ByteVectorByteVector.lanewise(VectorOperators.Ternary op, byte e1, Vector<Byte> v2) Combines the lane values of this vector with the values of another vector and a broadcast scalar.final ByteVectorByteVector.lanewise(VectorOperators.Ternary op, byte e1, Vector<Byte> v2, VectorMask<Byte> 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 ByteVectorByteVector.lanewise(VectorOperators.Ternary op, Vector<Byte> v1, byte e2) Combines the lane values of this vector with the values of another vector and a broadcast scalar.final ByteVectorByteVector.lanewise(VectorOperators.Ternary op, Vector<Byte> v1, byte e2, VectorMask<Byte> 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 ByteVectorCombines the corresponding lane values of this vector with the lanes of a second and a third input vector.abstract ByteVectorByteVector.lanewise(VectorOperators.Ternary op, Vector<Byte> v1, Vector<Byte> v2, VectorMask<Byte> 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 ByteVectorByteVector.lanewise(VectorOperators.Unary op) Operates on the lane values of this vector.abstract ByteVectorByteVector.lanewise(VectorOperators.Unary op, VectorMask<Byte> m) Operates on the lane values of this vector, with selection of lane elements controlled by a mask.final ByteVectorByteVector.max(byte e) Computes the larger of this vector and the broadcast of an input scalar.final ByteVectorComputes the larger of this vector and a second input vector.final ByteVectorByteVector.min(byte e) Computes the smaller of this vector and the broadcast of an input scalar.final ByteVectorComputes the smaller of this vector and a second input vector.final ByteVectorByteVector.mul(byte e) Multiplies this vector by the broadcast of an input scalar.final ByteVectorByteVector.mul(byte e, VectorMask<Byte> m) Multiplies this vector by the broadcast of an input scalar, selecting lane elements controlled by a mask.final ByteVectorMultiplies this vector by a second input vector.final ByteVectorByteVector.mul(Vector<Byte> v, VectorMask<Byte> m) Multiplies this vector by a second input vector under the control of a mask.final ByteVectorByteVector.neg()Negates this vector.final ByteVectorByteVector.not()Computes the bitwise logical complement (~) of this vector.final ByteVectorByteVector.or(byte e) Computes the bitwise logical disjunction (|) of this vector and a scalar.final ByteVectorComputes the bitwise logical disjunction (|) of this vector and a second input vector.abstract ByteVectorByteVector.rearrange(VectorShuffle<Byte> shuffle) Rearranges the lane elements of this vector, selecting lanes under the control of a specific shuffle.abstract ByteVectorByteVector.rearrange(VectorShuffle<Byte> s, Vector<Byte> 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 ByteVectorByteVector.rearrange(VectorShuffle<Byte> s, VectorMask<Byte> m) Rearranges the lane elements of this vector, selecting lanes under the control of a specific shuffle and a mask.final ByteVectorByteVector.reinterpretAsBytes()Views this vector as a vector of the same shape and contents but a lane type ofbyte, where the bytes are extracted from the lanes according to little-endian order.final ByteVectorDoubleVector.reinterpretAsBytes()Views this vector as a vector of the same shape and contents but a lane type ofbyte, where the bytes are extracted from the lanes according to little-endian order.final ByteVectorFloatVector.reinterpretAsBytes()Views this vector as a vector of the same shape and contents but a lane type ofbyte, where the bytes are extracted from the lanes according to little-endian order.final ByteVectorIntVector.reinterpretAsBytes()Views this vector as a vector of the same shape and contents but a lane type ofbyte, where the bytes are extracted from the lanes according to little-endian order.final ByteVectorLongVector.reinterpretAsBytes()Views this vector as a vector of the same shape and contents but a lane type ofbyte, where the bytes are extracted from the lanes according to little-endian order.final ByteVectorShortVector.reinterpretAsBytes()Views this vector as a vector of the same shape and contents but a lane type ofbyte, where the bytes are extracted from the lanes according to little-endian order.abstract ByteVectorVector.reinterpretAsBytes()Views this vector as a vector of the same shape and contents but a lane type ofbyte, where the bytes are extracted from the lanes according to little-endian order.abstract ByteVectorByteVector.selectFrom(Vector<Byte> v) Using index values stored in the lanes of this vector, assemble values stored in second vectorv.abstract ByteVectorByteVector.selectFrom(Vector<Byte> v1, Vector<Byte> v2) Using values stored in the lanes of this vector, assemble values stored in the second vectorv1and third vectorv2.abstract ByteVectorByteVector.selectFrom(Vector<Byte> s, VectorMask<Byte> m) Using index values stored in the lanes of this vector, assemble values stored in second vector, under the control of a mask.abstract ByteVectorByteVector.slice(int origin) Slices a segment of adjacent lanes, starting at a givenoriginlane in the current vector.abstract ByteVectorSlices a segment of adjacent lanes, starting at a givenoriginlane in the current vector, and continuing (as needed) into an immediately following vector.final ByteVectorByteVector.slice(int origin, Vector<Byte> w, VectorMask<Byte> m) Slices a segment of adjacent lanes under the control of a mask, starting at a givenoriginlane in the current vector, and continuing (as needed) into an immediately following vector.final ByteVectorByteVector.sub(byte e) Subtracts an input scalar from this vector.final ByteVectorByteVector.sub(byte e, VectorMask<Byte> m) Subtracts an input scalar from this vector under the control of a mask.final ByteVectorSubtracts a second input vector from this vector.final ByteVectorByteVector.sub(Vector<Byte> v, VectorMask<Byte> m) Subtracts a second input vector from this vector under the control of a mask.abstract ByteVectorByteVector.unslice(int origin) Reverses a slice(), inserting the current vector as a slice within a "background" input of zero lane values.abstract ByteVectorReverses 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 subsequentslice()operation.abstract ByteVectorByteVector.unslice(int origin, Vector<Byte> w, int part, VectorMask<Byte> 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 subsequentslice()operation.final ByteVectorByteVector.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 ByteVectorByteVector.withLane(int i, byte e) Replaces the lane element of this vector at lane indexiwith valuee.static ByteVectorByteVector.zero(VectorSpecies<Byte> species) Returns a vector of the given species where all lane elements are set to zero, the default primitive value.