Uses of Interface
jdk.incubator.vector.VectorSpecies
Packages that use VectorSpecies
-
Uses of VectorSpecies in jdk.incubator.vector
Fields in jdk.incubator.vector declared as VectorSpeciesModifier and TypeFieldDescriptionstatic final VectorSpecies<Byte> ByteVector.SPECIES_128Species representingByteVectors ofVectorShape.S_128_BIT.static final VectorSpecies<Double> DoubleVector.SPECIES_128Species representingDoubleVectors ofVectorShape.S_128_BIT.static final VectorSpecies<Float> FloatVector.SPECIES_128Species representingFloatVectors ofVectorShape.S_128_BIT.static final VectorSpecies<Integer> IntVector.SPECIES_128Species representingIntVectors ofVectorShape.S_128_BIT.static final VectorSpecies<Long> LongVector.SPECIES_128Species representingLongVectors ofVectorShape.S_128_BIT.static final VectorSpecies<Short> ShortVector.SPECIES_128Species representingShortVectors ofVectorShape.S_128_BIT.static final VectorSpecies<Byte> ByteVector.SPECIES_256Species representingByteVectors ofVectorShape.S_256_BIT.static final VectorSpecies<Double> DoubleVector.SPECIES_256Species representingDoubleVectors ofVectorShape.S_256_BIT.static final VectorSpecies<Float> FloatVector.SPECIES_256Species representingFloatVectors ofVectorShape.S_256_BIT.static final VectorSpecies<Integer> IntVector.SPECIES_256Species representingIntVectors ofVectorShape.S_256_BIT.static final VectorSpecies<Long> LongVector.SPECIES_256Species representingLongVectors ofVectorShape.S_256_BIT.static final VectorSpecies<Short> ShortVector.SPECIES_256Species representingShortVectors ofVectorShape.S_256_BIT.static final VectorSpecies<Byte> ByteVector.SPECIES_512Species representingByteVectors ofVectorShape.S_512_BIT.static final VectorSpecies<Double> DoubleVector.SPECIES_512Species representingDoubleVectors ofVectorShape.S_512_BIT.static final VectorSpecies<Float> FloatVector.SPECIES_512Species representingFloatVectors ofVectorShape.S_512_BIT.static final VectorSpecies<Integer> IntVector.SPECIES_512Species representingIntVectors ofVectorShape.S_512_BIT.static final VectorSpecies<Long> LongVector.SPECIES_512Species representingLongVectors ofVectorShape.S_512_BIT.static final VectorSpecies<Short> ShortVector.SPECIES_512Species representingShortVectors ofVectorShape.S_512_BIT.static final VectorSpecies<Byte> ByteVector.SPECIES_64Species representingByteVectors ofVectorShape.S_64_BIT.static final VectorSpecies<Double> DoubleVector.SPECIES_64Species representingDoubleVectors ofVectorShape.S_64_BIT.static final VectorSpecies<Float> FloatVector.SPECIES_64Species representingFloatVectors ofVectorShape.S_64_BIT.static final VectorSpecies<Integer> IntVector.SPECIES_64Species representingIntVectors ofVectorShape.S_64_BIT.static final VectorSpecies<Long> LongVector.SPECIES_64Species representingLongVectors ofVectorShape.S_64_BIT.static final VectorSpecies<Short> ShortVector.SPECIES_64Species representingShortVectors ofVectorShape.S_64_BIT.static final VectorSpecies<Byte> ByteVector.SPECIES_MAXSpecies representingByteVectors ofVectorShape.S_Max_BIT.static final VectorSpecies<Double> DoubleVector.SPECIES_MAXSpecies representingDoubleVectors ofVectorShape.S_Max_BIT.static final VectorSpecies<Float> FloatVector.SPECIES_MAXSpecies representingFloatVectors ofVectorShape.S_Max_BIT.static final VectorSpecies<Integer> IntVector.SPECIES_MAXSpecies representingIntVectors ofVectorShape.S_Max_BIT.static final VectorSpecies<Long> LongVector.SPECIES_MAXSpecies representingLongVectors ofVectorShape.S_Max_BIT.static final VectorSpecies<Short> ShortVector.SPECIES_MAXSpecies representingShortVectors ofVectorShape.S_Max_BIT.static final VectorSpecies<Byte> ByteVector.SPECIES_PREFERREDPreferred species forByteVectors.static final VectorSpecies<Double> DoubleVector.SPECIES_PREFERREDPreferred species forDoubleVectors.static final VectorSpecies<Float> FloatVector.SPECIES_PREFERREDPreferred species forFloatVectors.static final VectorSpecies<Integer> IntVector.SPECIES_PREFERREDPreferred species forIntVectors.static final VectorSpecies<Long> LongVector.SPECIES_PREFERREDPreferred species forLongVectors.static final VectorSpecies<Short> ShortVector.SPECIES_PREFERREDPreferred species forShortVectors.Methods in jdk.incubator.vector that return VectorSpeciesModifier and TypeMethodDescription<F> VectorSpecies<F> Checks that this species has the given element type, and returns this species unchanged.static <E> VectorSpecies<E> VectorSpecies.of(Class<E> elementType, VectorShape shape) Finds a species for an element type and shape.static <E> VectorSpecies<E> VectorSpecies.ofLargestShape(Class<E> etype) Finds the largest vector species of the given element type.static <E> VectorSpecies<E> VectorSpecies.ofPreferred(Class<E> etype) Finds the species preferred by the current platform for a given vector element type.abstract VectorSpecies<E> Vector.species()Returns the species of this vector.abstract VectorSpecies<E> VectorMask.vectorSpecies()Returns the vector species to which this mask applies.abstract VectorSpecies<E> VectorShuffle.vectorSpecies()Returns the species of this shuffle.<E> VectorSpecies<E> Finds a vector species with the given element type and the current shape.<F> VectorSpecies<F> Finds a species with the given element type and the same shape as this species.VectorSpecies.withShape(VectorShape newShape) Finds a species with the given shape and the same elementType as this species.Methods in jdk.incubator.vector with parameters of type VectorSpeciesModifier and TypeMethodDescriptionstatic 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.static DoubleVectorDoubleVector.broadcast(VectorSpecies<Double> species, double e) Returns a vector of the given species where all lane elements are set to the primitive valuee.static DoubleVectorDoubleVector.broadcast(VectorSpecies<Double> species, long e) Returns a vector of the given species where all lane elements are set to the primitive valuee.static FloatVectorFloatVector.broadcast(VectorSpecies<Float> species, float e) Returns a vector of the given species where all lane elements are set to the primitive valuee.static FloatVectorFloatVector.broadcast(VectorSpecies<Float> species, long e) Returns a vector of the given species where all lane elements are set to the primitive valuee.static IntVectorIntVector.broadcast(VectorSpecies<Integer> species, int e) Returns a vector of the given species where all lane elements are set to the primitive valuee.static IntVectorIntVector.broadcast(VectorSpecies<Integer> species, long e) Returns a vector of the given species where all lane elements are set to the primitive valuee.static LongVectorLongVector.broadcast(VectorSpecies<Long> species, long e) Returns a vector of the given species where all lane elements are set to the primitive valuee.static ShortVectorShortVector.broadcast(VectorSpecies<Short> species, long e) Returns a vector of the given species where all lane elements are set to the primitive valuee.static ShortVectorShortVector.broadcast(VectorSpecies<Short> species, short e) Returns a vector of the given species where all lane elements are set to the primitive valuee.abstract <F> VectorMask<F> VectorMask.cast(VectorSpecies<F> species) Converts this mask to a mask of the given species of element typeF.abstract <F> VectorShuffle<F> VectorShuffle.cast(VectorSpecies<F> species) Converts this shuffle to a shuffle of the given species of element typeF.abstract <F> Vector<F> Vector.castShape(VectorSpecies<F> rsp, int part) Convenience method for converting a vector from one lane type to another, reshaping as needed when lane sizes change.abstract <F> Vector<F> Vector.check(VectorSpecies<F> species) Checks that this vector has the given species, and returns this vector unchanged.abstract <F> VectorMask<F> VectorMask.check(VectorSpecies<F> species) Checks that this mask has the given species, and returns this mask unchanged.abstract <F> VectorShuffle<F> VectorShuffle.check(VectorSpecies<F> species) Checks that this shuffle has the given species, and returns this shuffle unchanged.abstract <F> Vector<F> Vector.convertShape(VectorOperators.Conversion<E, F> conv, VectorSpecies<F> rsp, int part) Converts this vector to a vector of the given species, shape and element type, converting lane values from the currentETYPEto a new lane type (calledFTYPEhere) according to the indicated conversion.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 DoubleVectorDoubleVector.fromArray(VectorSpecies<Double> species, double[] a, int offset) Loads a vector from an array of typedouble[]starting at an offset.static DoubleVectorDoubleVector.fromArray(VectorSpecies<Double> species, double[] a, int offset, int[] indexMap, int mapOffset) Gathers a new vector composed of elements from an array of typedouble[], using indexes obtained by adding a fixedoffsetto a series of secondary offsets from an index map.static DoubleVectorDoubleVector.fromArray(VectorSpecies<Double> species, double[] a, int offset, int[] indexMap, int mapOffset, VectorMask<Double> m) Gathers a new vector composed of elements from an array of typedouble[], under the control of a mask, and using indexes obtained by adding a fixedoffsetto a series of secondary offsets from an index map.static DoubleVectorDoubleVector.fromArray(VectorSpecies<Double> species, double[] a, int offset, VectorMask<Double> m) Loads a vector from an array of typedouble[]starting at an offset and using a mask.static FloatVectorFloatVector.fromArray(VectorSpecies<Float> species, float[] a, int offset) Loads a vector from an array of typefloat[]starting at an offset.static FloatVectorFloatVector.fromArray(VectorSpecies<Float> species, float[] a, int offset, int[] indexMap, int mapOffset) Gathers a new vector composed of elements from an array of typefloat[], using indexes obtained by adding a fixedoffsetto a series of secondary offsets from an index map.static FloatVectorFloatVector.fromArray(VectorSpecies<Float> species, float[] a, int offset, int[] indexMap, int mapOffset, VectorMask<Float> m) Gathers a new vector composed of elements from an array of typefloat[], under the control of a mask, and using indexes obtained by adding a fixedoffsetto a series of secondary offsets from an index map.static FloatVectorFloatVector.fromArray(VectorSpecies<Float> species, float[] a, int offset, VectorMask<Float> m) Loads a vector from an array of typefloat[]starting at an offset and using a mask.static IntVectorIntVector.fromArray(VectorSpecies<Integer> species, int[] a, int offset) Loads a vector from an array of typeint[]starting at an offset.static IntVectorIntVector.fromArray(VectorSpecies<Integer> species, int[] a, int offset, int[] indexMap, int mapOffset) Gathers a new vector composed of elements from an array of typeint[], using indexes obtained by adding a fixedoffsetto a series of secondary offsets from an index map.static IntVectorIntVector.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 typeint[], under the control of a mask, and using indexes obtained by adding a fixedoffsetto a series of secondary offsets from an index map.static IntVectorIntVector.fromArray(VectorSpecies<Integer> species, int[] a, int offset, VectorMask<Integer> m) Loads a vector from an array of typeint[]starting at an offset and using a mask.static LongVectorLongVector.fromArray(VectorSpecies<Long> species, long[] a, int offset) Loads a vector from an array of typelong[]starting at an offset.static LongVectorLongVector.fromArray(VectorSpecies<Long> species, long[] a, int offset, int[] indexMap, int mapOffset) Gathers a new vector composed of elements from an array of typelong[], using indexes obtained by adding a fixedoffsetto a series of secondary offsets from an index map.static LongVectorLongVector.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 typelong[], under the control of a mask, and using indexes obtained by adding a fixedoffsetto a series of secondary offsets from an index map.static LongVectorLongVector.fromArray(VectorSpecies<Long> species, long[] a, int offset, VectorMask<Long> m) Loads a vector from an array of typelong[]starting at an offset and using a mask.static ShortVectorShortVector.fromArray(VectorSpecies<Short> species, short[] a, int offset) Loads a vector from an array of typeshort[]starting at an offset.static ShortVectorShortVector.fromArray(VectorSpecies<Short> species, short[] a, int offset, int[] indexMap, int mapOffset) Gathers a new vector composed of elements from an array of typeshort[], using indexes obtained by adding a fixedoffsetto a series of secondary offsets from an index map.static ShortVectorShortVector.fromArray(VectorSpecies<Short> species, short[] a, int offset, int[] indexMap, int mapOffset, VectorMask<Short> m) Gathers a new vector composed of elements from an array of typeshort[], under the control of a mask, and using indexes obtained by adding a fixedoffsetto a series of secondary offsets from an index map.static ShortVectorShortVector.fromArray(VectorSpecies<Short> species, short[] a, int offset, VectorMask<Short> m) Loads a vector from an array of typeshort[]starting at an offset and using a mask.static <E> VectorMask<E> VectorMask.fromArray(VectorSpecies<E> species, boolean[] bits, int offset) Loads a mask from abooleanarray starting at an offset.static <E> VectorShuffle<E> VectorShuffle.fromArray(VectorSpecies<E> species, int[] sourceIndexes, int offset) Creates a shuffle for a given species from anintarray starting at an offset.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 ShortVectorShortVector.fromCharArray(VectorSpecies<Short> species, char[] a, int offset) Loads a vector from an array of typechar[]starting at an offset.static ShortVectorShortVector.fromCharArray(VectorSpecies<Short> species, char[] a, int offset, int[] indexMap, int mapOffset) Gathers a new vector composed of elements from an array of typechar[], using indexes obtained by adding a fixedoffsetto a series of secondary offsets from an index map.static ShortVectorShortVector.fromCharArray(VectorSpecies<Short> species, char[] a, int offset, int[] indexMap, int mapOffset, VectorMask<Short> m) Gathers a new vector composed of elements from an array of typechar[], under the control of a mask, and using indexes obtained by adding a fixedoffsetto a series of secondary offsets from an index map.static ShortVectorShortVector.fromCharArray(VectorSpecies<Short> species, char[] a, int offset, VectorMask<Short> m) Loads a vector from an array of typechar[]starting at an offset and using a mask.static <E> VectorMask<E> VectorMask.fromLong(VectorSpecies<E> species, long bits) Returns a mask where each lane is set or unset according to the bits in the given bitmask, starting with the least significant bit, and continuing up to the sign bit.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.static DoubleVectorDoubleVector.fromMemorySegment(VectorSpecies<Double> species, MemorySegment ms, long offset, ByteOrder bo) Loads a vector from a memory segment starting at an offset into the memory segment.static DoubleVectorDoubleVector.fromMemorySegment(VectorSpecies<Double> species, MemorySegment ms, long offset, ByteOrder bo, VectorMask<Double> m) Loads a vector from a memory segment starting at an offset into the memory segment and using a mask.static FloatVectorFloatVector.fromMemorySegment(VectorSpecies<Float> species, MemorySegment ms, long offset, ByteOrder bo) Loads a vector from a memory segment starting at an offset into the memory segment.static FloatVectorFloatVector.fromMemorySegment(VectorSpecies<Float> species, MemorySegment ms, long offset, ByteOrder bo, VectorMask<Float> m) Loads a vector from a memory segment starting at an offset into the memory segment and using a mask.static IntVectorIntVector.fromMemorySegment(VectorSpecies<Integer> species, MemorySegment ms, long offset, ByteOrder bo) Loads a vector from a memory segment starting at an offset into the memory segment.static IntVectorIntVector.fromMemorySegment(VectorSpecies<Integer> species, MemorySegment ms, long offset, ByteOrder bo, VectorMask<Integer> m) Loads a vector from a memory segment starting at an offset into the memory segment and using a mask.static LongVectorLongVector.fromMemorySegment(VectorSpecies<Long> species, MemorySegment ms, long offset, ByteOrder bo) Loads a vector from a memory segment starting at an offset into the memory segment.static LongVectorLongVector.fromMemorySegment(VectorSpecies<Long> species, MemorySegment ms, long offset, ByteOrder bo, VectorMask<Long> m) Loads a vector from a memory segment starting at an offset into the memory segment and using a mask.static ShortVectorShortVector.fromMemorySegment(VectorSpecies<Short> species, MemorySegment ms, long offset, ByteOrder bo) Loads a vector from a memory segment starting at an offset into the memory segment.static ShortVectorShortVector.fromMemorySegment(VectorSpecies<Short> species, MemorySegment ms, long offset, ByteOrder bo, VectorMask<Short> m) Loads a vector from a memory segment starting at an offset into the memory segment and using a mask.static <E> VectorShuffle<E> VectorShuffle.fromOp(VectorSpecies<E> species, IntUnaryOperator fn) Creates a shuffle for a given species from the successive values of an operator applied to the range[0..VLENGTH-1].static <E> VectorMask<E> VectorMask.fromValues(VectorSpecies<E> species, boolean... bits) Returns a mask where each lane is set or unset according to givenbooleanvalues.static <E> VectorShuffle<E> VectorShuffle.fromValues(VectorSpecies<E> species, int... sourceIndexes) Creates a shuffle for a given species from a series of source indexes.static <E> VectorShuffle<E> VectorShuffle.iota(VectorSpecies<E> species, int start, int step, boolean wrap) Creates a shuffle using source indexes set to sequential values starting fromstartand stepping by the givenstep.static <E> VectorShuffle<E> VectorShuffle.makeUnzip(VectorSpecies<E> species, int part) Creates a shuffle which will unzip the concatenation of two vectors, alternatively storing input lanes into one or the other output vector.static <E> VectorShuffle<E> VectorShuffle.makeZip(VectorSpecies<E> species, int part) Creates a shuffle which will zip together two vectors, alternatively selecting lanes from one or the other.intVectorSpecies.partLimit(VectorSpecies<?> outputSpecies, boolean lanewise) Given this species and a second one, reports the net expansion or contraction of a (potentially) resizing reinterpretation cast orlane-wise conversionfrom this species to the second.abstract <F> Vector<F> Vector.reinterpretShape(VectorSpecies<F> species, int part) Transforms this vector to a vector of the given species of element typeF, reinterpreting the bytes of this vector without performing any value conversions.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.static DoubleVectorDoubleVector.zero(VectorSpecies<Double> species) Returns a vector of the given species where all lane elements are set to zero, the default primitive value.static FloatVectorFloatVector.zero(VectorSpecies<Float> species) Returns a vector of the given species where all lane elements are set to zero, the default primitive value.static IntVectorIntVector.zero(VectorSpecies<Integer> species) Returns a vector of the given species where all lane elements are set to zero, the default primitive value.static LongVectorLongVector.zero(VectorSpecies<Long> species) Returns a vector of the given species where all lane elements are set to zero, the default primitive value.static ShortVectorShortVector.zero(VectorSpecies<Short> species) Returns a vector of the given species where all lane elements are set to zero, the default primitive value.