E
- the boxed element type for the conversion domain type (the input lane type)F
- the boxed element type for the conversion range type (the output lane type)VectorOperators.Operator
VectorOperators
public static interface VectorOperators.Conversion<E,F> extends VectorOperators.Operator
w1 = v0.
convert
(I2D, 1)
.Modifier and Type | Method | Description |
---|---|---|
<E, |
check |
Ensures that this conversion has the desired domain and range types. |
Class |
domainType() |
The domain of this conversion, a primitive type. |
static <E, |
ofCast |
The Java language assignment or casting conversion between two types. |
static <E, |
ofReinterpret |
The bitwise reinterpretation between two types. |
Class |
rangeType() |
The range of this conversion, a primitive type. |
arity, compatibleWith, isAssociative, isBoolean, name, operatorName
Class<E> domainType()
Class<F> rangeType()
rangeType
in interface VectorOperators.Operator
<E, F> VectorOperators.Conversion<E,F> check(Class<E> from, Class<F> to)
E
- the desired domain typeF
- the desired range typefrom
- the desired domain typeto
- the desired range typestatic <E, F> VectorOperators.Conversion<E,F> ofCast(Class<E> from, Class<F> to)
E
- the domain type (boxed version of a lane type)F
- the range type (boxed version of a lane type)from
- the type of the value to convertto
- the desired type after conversionstatic <E, F> VectorOperators.Conversion<E,F> ofReinterpret(Class<E> from, Class<F> to)
E
- the domain type (boxed version of a lane type)F
- the range type (boxed version of a lane type)from
- the type of the value to reinterpretto
- the desired type after reinterpretation
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/jdk.incubator.vector/jdk/incubator/vector/VectorOperators.Conversion.html