Uses of Interface
jdk.incubator.vector.VectorOperators.Conversion
-
Uses of VectorOperators.Conversion in jdk.incubator.vector
Modifier and TypeFieldDescriptionstatic final VectorOperators.Conversion<Byte,
Double> VectorOperators.B2D
ConvertbyteVal
to(double)byteVal
.static final VectorOperators.Conversion<Byte,
Float> VectorOperators.B2F
ConvertbyteVal
to(float)byteVal
.static final VectorOperators.Conversion<Byte,
Integer> VectorOperators.B2I
ConvertbyteVal
to(int)byteVal
.static final VectorOperators.Conversion<Byte,
Long> VectorOperators.B2L
ConvertbyteVal
to(long)byteVal
.static final VectorOperators.Conversion<Byte,
Short> VectorOperators.B2S
ConvertbyteVal
to(short)byteVal
.static final VectorOperators.Conversion<Double,
Byte> VectorOperators.D2B
ConvertdoubleVal
to(byte)doubleVal
.static final VectorOperators.Conversion<Double,
Float> VectorOperators.D2F
ConvertdoubleVal
to(float)doubleVal
.static final VectorOperators.Conversion<Double,
Integer> VectorOperators.D2I
ConvertdoubleVal
to(int)doubleVal
.static final VectorOperators.Conversion<Double,
Long> VectorOperators.D2L
ConvertdoubleVal
to(long)doubleVal
.static final VectorOperators.Conversion<Double,
Short> VectorOperators.D2S
ConvertdoubleVal
to(short)doubleVal
.static final VectorOperators.Conversion<Float,
Byte> VectorOperators.F2B
ConvertfloatVal
to(byte)floatVal
.static final VectorOperators.Conversion<Float,
Double> VectorOperators.F2D
ConvertfloatVal
to(double)floatVal
.static final VectorOperators.Conversion<Float,
Integer> VectorOperators.F2I
ConvertfloatVal
to(int)floatVal
.static final VectorOperators.Conversion<Float,
Long> VectorOperators.F2L
ConvertfloatVal
to(long)floatVal
.static final VectorOperators.Conversion<Float,
Short> VectorOperators.F2S
ConvertfloatVal
to(short)floatVal
.static final VectorOperators.Conversion<Integer,
Byte> VectorOperators.I2B
ConvertintVal
to(byte)intVal
.static final VectorOperators.Conversion<Integer,
Double> VectorOperators.I2D
ConvertintVal
to(double)intVal
.static final VectorOperators.Conversion<Integer,
Float> VectorOperators.I2F
ConvertintVal
to(float)intVal
.static final VectorOperators.Conversion<Integer,
Long> VectorOperators.I2L
ConvertintVal
to(long)intVal
.static final VectorOperators.Conversion<Integer,
Short> VectorOperators.I2S
ConvertintVal
to(short)intVal
.static final VectorOperators.Conversion<Long,
Byte> VectorOperators.L2B
ConvertlongVal
to(byte)longVal
.static final VectorOperators.Conversion<Long,
Double> VectorOperators.L2D
ConvertlongVal
to(double)longVal
.static final VectorOperators.Conversion<Long,
Float> VectorOperators.L2F
ConvertlongVal
to(float)longVal
.static final VectorOperators.Conversion<Long,
Integer> VectorOperators.L2I
ConvertlongVal
to(int)longVal
.static final VectorOperators.Conversion<Long,
Short> VectorOperators.L2S
ConvertlongVal
to(short)longVal
.static final VectorOperators.Conversion<Double,
Long> VectorOperators.REINTERPRET_D2L
Reinterpret bits ofdoubleVal
aslong
.static final VectorOperators.Conversion<Float,
Integer> VectorOperators.REINTERPRET_F2I
Reinterpret bits offloatVal
asint
.static final VectorOperators.Conversion<Integer,
Float> VectorOperators.REINTERPRET_I2F
Reinterpret bits ofintVal
asfloat
.static final VectorOperators.Conversion<Long,
Double> VectorOperators.REINTERPRET_L2D
Reinterpret bits oflongVal
asdouble
.static final VectorOperators.Conversion<Short,
Byte> VectorOperators.S2B
ConvertshortVal
to(byte)shortVal
.static final VectorOperators.Conversion<Short,
Double> VectorOperators.S2D
ConvertshortVal
to(double)shortVal
.static final VectorOperators.Conversion<Short,
Float> VectorOperators.S2F
ConvertshortVal
to(float)shortVal
.static final VectorOperators.Conversion<Short,
Integer> VectorOperators.S2I
ConvertshortVal
to(int)shortVal
.static final VectorOperators.Conversion<Short,
Long> VectorOperators.S2L
ConvertshortVal
to(long)shortVal
.static final VectorOperators.Conversion<Byte,
Integer> VectorOperators.ZERO_EXTEND_B2I
Zero-extendbyteVal
toint
.static final VectorOperators.Conversion<Byte,
Long> VectorOperators.ZERO_EXTEND_B2L
Zero-extendbyteVal
tolong
.static final VectorOperators.Conversion<Byte,
Short> VectorOperators.ZERO_EXTEND_B2S
Zero-extendbyteVal
toshort
.static final VectorOperators.Conversion<Integer,
Long> VectorOperators.ZERO_EXTEND_I2L
Zero-extendintVal
tolong
.static final VectorOperators.Conversion<Short,
Integer> VectorOperators.ZERO_EXTEND_S2I
Zero-extendshortVal
toint
.static final VectorOperators.Conversion<Short,
Long> VectorOperators.ZERO_EXTEND_S2L
Zero-extendshortVal
tolong
.Modifier and TypeMethodDescription<E,
F> VectorOperators.Conversion<E, F> Ensures that this conversion has the desired domain and range types.static <E,
F> VectorOperators.Conversion<E, F> 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.Modifier and TypeMethodDescriptionabstract <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 currentETYPE
to a new lane type (calledFTYPE
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 currentETYPE
to a new lane type (calledFTYPE
here) according to the indicated conversion.