# Uses of Interface
jdk.incubator.vector.VectorOperators.Conversion

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

## Uses of VectorOperators.Conversion in jdk.incubator.vector

Fields in jdk.incubator.vector declared as VectorOperators.Conversion
Modifier and Type
Field
Description
`static VectorOperators.Conversion<Byte,​Double>`
VectorOperators.`B2D`
Convert `byteVal` to `(double)byteVal`.
`static VectorOperators.Conversion<Byte,​Float>`
VectorOperators.`B2F`
Convert `byteVal` to `(float)byteVal`.
`static VectorOperators.Conversion<Byte,​Integer>`
VectorOperators.`B2I`
Convert `byteVal` to `(int)byteVal`.
`static VectorOperators.Conversion<Byte,​Long>`
VectorOperators.`B2L`
Convert `byteVal` to `(long)byteVal`.
`static VectorOperators.Conversion<Byte,​Short>`
VectorOperators.`B2S`
Convert `byteVal` to `(short)byteVal`.
`static VectorOperators.Conversion<Double,​Byte>`
VectorOperators.`D2B`
Convert `doubleVal` to `(byte)doubleVal`.
`static VectorOperators.Conversion<Double,​Float>`
VectorOperators.`D2F`
Convert `doubleVal` to `(float)doubleVal`.
`static VectorOperators.Conversion<Double,​Integer>`
VectorOperators.`D2I`
Convert `doubleVal` to `(int)doubleVal`.
`static VectorOperators.Conversion<Double,​Long>`
VectorOperators.`D2L`
Convert `doubleVal` to `(long)doubleVal`.
`static VectorOperators.Conversion<Double,​Short>`
VectorOperators.`D2S`
Convert `doubleVal` to `(short)doubleVal`.
`static VectorOperators.Conversion<Float,​Byte>`
VectorOperators.`F2B`
Convert `floatVal` to `(byte)floatVal`.
`static VectorOperators.Conversion<Float,​Double>`
VectorOperators.`F2D`
Convert `floatVal` to `(double)floatVal`.
`static VectorOperators.Conversion<Float,​Integer>`
VectorOperators.`F2I`
Convert `floatVal` to `(int)floatVal`.
`static VectorOperators.Conversion<Float,​Long>`
VectorOperators.`F2L`
Convert `floatVal` to `(long)floatVal`.
`static VectorOperators.Conversion<Float,​Short>`
VectorOperators.`F2S`
Convert `floatVal` to `(short)floatVal`.
`static VectorOperators.Conversion<Integer,​Byte>`
VectorOperators.`I2B`
Convert `intVal` to `(byte)intVal`.
`static VectorOperators.Conversion<Integer,​Double>`
VectorOperators.`I2D`
Convert `intVal` to `(double)intVal`.
`static VectorOperators.Conversion<Integer,​Float>`
VectorOperators.`I2F`
Convert `intVal` to `(float)intVal`.
`static VectorOperators.Conversion<Integer,​Long>`
VectorOperators.`I2L`
Convert `intVal` to `(long)intVal`.
`static VectorOperators.Conversion<Integer,​Short>`
VectorOperators.`I2S`
Convert `intVal` to `(short)intVal`.
`static VectorOperators.Conversion<Long,​Byte>`
VectorOperators.`L2B`
Convert `longVal` to `(byte)longVal`.
`static VectorOperators.Conversion<Long,​Double>`
VectorOperators.`L2D`
Convert `longVal` to `(double)longVal`.
`static VectorOperators.Conversion<Long,​Float>`
VectorOperators.`L2F`
Convert `longVal` to `(float)longVal`.
`static VectorOperators.Conversion<Long,​Integer>`
VectorOperators.`L2I`
Convert `longVal` to `(int)longVal`.
`static VectorOperators.Conversion<Long,​Short>`
VectorOperators.`L2S`
Convert `longVal` to `(short)longVal`.
`static VectorOperators.Conversion<Double,​Long>`
VectorOperators.`REINTERPRET_D2L`
Reinterpret bits of `doubleVal` as `long`.
`static VectorOperators.Conversion<Float,​Integer>`
VectorOperators.`REINTERPRET_F2I`
Reinterpret bits of `floatVal` as `int`.
`static VectorOperators.Conversion<Integer,​Float>`
VectorOperators.`REINTERPRET_I2F`
Reinterpret bits of `intVal` as `float`.
`static VectorOperators.Conversion<Long,​Double>`
VectorOperators.`REINTERPRET_L2D`
Reinterpret bits of `longVal` as `double`.
`static VectorOperators.Conversion<Short,​Byte>`
VectorOperators.`S2B`
Convert `shortVal` to `(byte)shortVal`.
`static VectorOperators.Conversion<Short,​Double>`
VectorOperators.`S2D`
Convert `shortVal` to `(double)shortVal`.
`static VectorOperators.Conversion<Short,​Float>`
VectorOperators.`S2F`
Convert `shortVal` to `(float)shortVal`.
`static VectorOperators.Conversion<Short,​Integer>`
VectorOperators.`S2I`
Convert `shortVal` to `(int)shortVal`.
`static VectorOperators.Conversion<Short,​Long>`
VectorOperators.`S2L`
Convert `shortVal` to `(long)shortVal`.
`static VectorOperators.Conversion<Byte,​Integer>`
VectorOperators.`ZERO_EXTEND_B2I`
Zero-extend `byteVal` to `int`.
`static VectorOperators.Conversion<Byte,​Long>`
VectorOperators.`ZERO_EXTEND_B2L`
Zero-extend `byteVal` to `long`.
`static VectorOperators.Conversion<Byte,​Short>`
VectorOperators.`ZERO_EXTEND_B2S`
Zero-extend `byteVal` to `short`.
`static VectorOperators.Conversion<Integer,​Long>`
VectorOperators.`ZERO_EXTEND_I2L`
Zero-extend `intVal` to `long`.
`static VectorOperators.Conversion<Short,​Integer>`
VectorOperators.`ZERO_EXTEND_S2I`
Zero-extend `shortVal` to `int`.
`static VectorOperators.Conversion<Short,​Long>`
VectorOperators.`ZERO_EXTEND_S2L`
Zero-extend `shortVal` to `long`.
Methods in jdk.incubator.vector that return VectorOperators.Conversion
Modifier and Type
Method
Description
`<E,​ F> VectorOperators.Conversion<E,​F>`
VectorOperators.Conversion.`check​(Class<E> from, Class<F> to)`
Ensures that this conversion has the desired domain and range types.
`static <E,​ F> VectorOperators.Conversion<E,​F>`
VectorOperators.Conversion.`ofCast​(Class<E> from, Class<F> to)`
The Java language assignment or casting conversion between two types.
`static <E,​ F> VectorOperators.Conversion<E,​F>`
VectorOperators.Conversion.`ofReinterpret​(Class<E> from, Class<F> to)`
The bitwise reinterpretation between two types.
Methods in jdk.incubator.vector with parameters of type VectorOperators.Conversion
Modifier and Type
Method
Description
`abstract <F> Vector<F>`
Vector.`convert​(VectorOperators.Conversion<E,​F> conv, int part)`
Convert this vector to a vector of the same shape and a new element type, converting lane values from the current `ETYPE` to a new lane type (called `FTYPE` here) according to the indicated conversion.
`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 current `ETYPE` to a new lane type (called `FTYPE` here) according to the indicated conversion.