- Type Parameters:
- 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)
- All Superinterfaces:
- VectorOperators.Operator
- Enclosing class:
- VectorOperators
Type for all
 lane-wise
 conversions on lane values,
 usable in expressions like 
w1 = v0.convert(I2D, 1).- API Note:
- User code should not implement this interface. A future release of this type may restrict implementations to be members of the same package.
- 
Method SummaryModifier and TypeMethodDescription<E,F> VectorOperators.Conversion <E, F> Ensures that this conversion has the desired domain and range types.The domain of this conversion, a primitive type.static <E,F> VectorOperators.Conversion <E, F> The Java language assignment or casting conversion between two types.static <E,F> VectorOperators.Conversion <E, F> ofReinterpret(Class<E> from, Class<F> to) The bitwise reinterpretation between two types.The range of this conversion, a primitive type.Methods declared in interface jdk.incubator.vector.VectorOperators.Operatorarity, compatibleWith, isAssociative, isBoolean, name, operatorName
- 
Method Details- 
domainTypeThe domain of this conversion, a primitive type.- Returns:
- the domain of this conversion
 
- 
rangeTypeThe range of this conversion, a primitive type.- Specified by:
- rangeTypein interface- VectorOperators.Operator
- Returns:
- the range of this conversion
 
- 
checkEnsures that this conversion has the desired domain and range types.- Type Parameters:
- E- the desired domain type
- F- the desired range type
- Parameters:
- from- the desired domain type
- to- the desired range type
- Returns:
- this conversion object, with validated domain and range
 
- 
ofCastThe Java language assignment or casting conversion between two types.- Type Parameters:
- E- the domain type (boxed version of a lane type)
- F- the range type (boxed version of a lane type)
- Parameters:
- from- the type of the value to convert
- to- the desired type after conversion
- Returns:
- a Java assignment or casting conversion
 
- 
ofReinterpretThe bitwise reinterpretation between two types.- Type Parameters:
- E- the domain type (boxed version of a lane type)
- F- the range type (boxed version of a lane type)
- Parameters:
- from- the type of the value to reinterpret
- to- the desired type after reinterpretation
- Returns:
- a bitwise reinterpretation conversion
 
 
-