Interface VectorOperators.Associative
- All Superinterfaces:
VectorOperators.Binary, VectorOperators.Operator
- Enclosing class:
VectorOperators
Type for all reassociating
lane-wise
binary operators,
usable in expressions like
e = v0.reduceLanes(ADD).- 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 Summary
Methods declared in interface VectorOperators.Operator
arity, compatibleWith, isAssociative, isBoolean, name, operatorName, rangeTypeModifier and TypeMethodDescriptionintarity()Returns the arity of this operator (1, 2, or 3).booleancompatibleWith(Class<?> elementType) Reports whether this operator is compatible with the proposed element type.booleanReturns the associativity of this operator.booleanReports whether this operator returns a boolean (a mask).name()Returns the symbolic name of this operator, as a constant inVectorOperators.Returns the Java operator symbol or method name corresponding to this operator.Class<?> Reports the special return type of this operator.