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

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

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

Fields in jdk.incubator.vector declared as VectorOperators.Comparison
Modifier and Type
Field
Description
`static VectorOperators.Comparison`
VectorOperators.`EQ`
Compare `a==b`.
`static VectorOperators.Comparison`
VectorOperators.`GE`
Compare `a>=b`.
`static VectorOperators.Comparison`
VectorOperators.`GT`
Compare `a>b`.
`static VectorOperators.Comparison`
VectorOperators.`LE`
Compare `a<=b`.
`static VectorOperators.Comparison`
VectorOperators.`LT`
Compare `a<b`.
`static VectorOperators.Comparison`
VectorOperators.`NE`
Compare `a!=b`.
Methods in jdk.incubator.vector with parameters of type VectorOperators.Comparison
Modifier and Type
Method
Description
`abstract VectorMask<Byte>`
ByteVector.`compare​(VectorOperators.Comparison op, byte e)`
Tests this vector by comparing it with an input scalar, according to the given comparison operation.
`VectorMask<Byte>`
ByteVector.`compare​(VectorOperators.Comparison op, byte e, VectorMask<Byte> m)`
Tests this vector by comparing it with an input scalar, according to the given comparison operation, in lanes selected by a mask.
`abstract VectorMask<Byte>`
ByteVector.`compare​(VectorOperators.Comparison op, long e)`
Tests this vector by comparing it with an input scalar, according to the given comparison operation.
`VectorMask<Byte>`
ByteVector.`compare​(VectorOperators.Comparison op, long e, VectorMask<Byte> m)`
Tests this vector by comparing it with an input scalar, according to the given comparison operation, in lanes selected by a mask.
`abstract VectorMask<Byte>`
ByteVector.`compare​(VectorOperators.Comparison op, Vector<Byte> v)`
Tests this vector by comparing it with another input vector, according to the given comparison operation.
`VectorMask<Byte>`
ByteVector.`compare​(VectorOperators.Comparison op, Vector<Byte> v, VectorMask<Byte> m)`
Tests this vector by comparing it with another input vector, according to the given comparison operation, in lanes selected by a mask.
`abstract VectorMask<Double>`
DoubleVector.`compare​(VectorOperators.Comparison op, double e)`
Tests this vector by comparing it with an input scalar, according to the given comparison operation.
`VectorMask<Double>`
DoubleVector.`compare​(VectorOperators.Comparison op, double e, VectorMask<Double> m)`
Tests this vector by comparing it with an input scalar, according to the given comparison operation, in lanes selected by a mask.
`abstract VectorMask<Double>`
DoubleVector.`compare​(VectorOperators.Comparison op, long e)`
Tests this vector by comparing it with an input scalar, according to the given comparison operation.
`VectorMask<Double>`
DoubleVector.`compare​(VectorOperators.Comparison op, long e, VectorMask<Double> m)`
Tests this vector by comparing it with an input scalar, according to the given comparison operation, in lanes selected by a mask.
`abstract VectorMask<Double>`
DoubleVector.`compare​(VectorOperators.Comparison op, Vector<Double> v)`
Tests this vector by comparing it with another input vector, according to the given comparison operation.
`VectorMask<Double>`
DoubleVector.`compare​(VectorOperators.Comparison op, Vector<Double> v, VectorMask<Double> m)`
Tests this vector by comparing it with another input vector, according to the given comparison operation, in lanes selected by a mask.
`abstract VectorMask<Float>`
FloatVector.`compare​(VectorOperators.Comparison op, float e)`
Tests this vector by comparing it with an input scalar, according to the given comparison operation.
`VectorMask<Float>`
FloatVector.`compare​(VectorOperators.Comparison op, float e, VectorMask<Float> m)`
Tests this vector by comparing it with an input scalar, according to the given comparison operation, in lanes selected by a mask.
`abstract VectorMask<Float>`
FloatVector.`compare​(VectorOperators.Comparison op, long e)`
Tests this vector by comparing it with an input scalar, according to the given comparison operation.
`VectorMask<Float>`
FloatVector.`compare​(VectorOperators.Comparison op, long e, VectorMask<Float> m)`
Tests this vector by comparing it with an input scalar, according to the given comparison operation, in lanes selected by a mask.
`abstract VectorMask<Float>`
FloatVector.`compare​(VectorOperators.Comparison op, Vector<Float> v)`
Tests this vector by comparing it with another input vector, according to the given comparison operation.
`VectorMask<Float>`
FloatVector.`compare​(VectorOperators.Comparison op, Vector<Float> v, VectorMask<Float> m)`
Tests this vector by comparing it with another input vector, according to the given comparison operation, in lanes selected by a mask.
`abstract VectorMask<Integer>`
IntVector.`compare​(VectorOperators.Comparison op, int e)`
Tests this vector by comparing it with an input scalar, according to the given comparison operation.
`VectorMask<Integer>`
IntVector.`compare​(VectorOperators.Comparison op, int e, VectorMask<Integer> m)`
Tests this vector by comparing it with an input scalar, according to the given comparison operation, in lanes selected by a mask.
`abstract VectorMask<Integer>`
IntVector.`compare​(VectorOperators.Comparison op, long e)`
Tests this vector by comparing it with an input scalar, according to the given comparison operation.
`VectorMask<Integer>`
IntVector.`compare​(VectorOperators.Comparison op, long e, VectorMask<Integer> m)`
Tests this vector by comparing it with an input scalar, according to the given comparison operation, in lanes selected by a mask.
`abstract VectorMask<Integer>`
IntVector.`compare​(VectorOperators.Comparison op, Vector<Integer> v)`
Tests this vector by comparing it with another input vector, according to the given comparison operation.
`VectorMask<Integer>`
IntVector.`compare​(VectorOperators.Comparison op, Vector<Integer> v, VectorMask<Integer> m)`
Tests this vector by comparing it with another input vector, according to the given comparison operation, in lanes selected by a mask.
`abstract VectorMask<Long>`
LongVector.`compare​(VectorOperators.Comparison op, long e)`
Tests this vector by comparing it with an input scalar, according to the given comparison operation.
`VectorMask<Long>`
LongVector.`compare​(VectorOperators.Comparison op, long e, VectorMask<Long> m)`
Tests this vector by comparing it with an input scalar, according to the given comparison operation, in lanes selected by a mask.
`abstract VectorMask<Long>`
LongVector.`compare​(VectorOperators.Comparison op, Vector<Long> v)`
Tests this vector by comparing it with another input vector, according to the given comparison operation.
`VectorMask<Long>`
LongVector.`compare​(VectorOperators.Comparison op, Vector<Long> v, VectorMask<Long> m)`
Tests this vector by comparing it with another input vector, according to the given comparison operation, in lanes selected by a mask.
`abstract VectorMask<Short>`
ShortVector.`compare​(VectorOperators.Comparison op, long e)`
Tests this vector by comparing it with an input scalar, according to the given comparison operation.
`VectorMask<Short>`
ShortVector.`compare​(VectorOperators.Comparison op, long e, VectorMask<Short> m)`
Tests this vector by comparing it with an input scalar, according to the given comparison operation, in lanes selected by a mask.
`abstract VectorMask<Short>`
ShortVector.`compare​(VectorOperators.Comparison op, short e)`
Tests this vector by comparing it with an input scalar, according to the given comparison operation.
`VectorMask<Short>`
ShortVector.`compare​(VectorOperators.Comparison op, short e, VectorMask<Short> m)`
Tests this vector by comparing it with an input scalar, according to the given comparison operation, in lanes selected by a mask.
`abstract VectorMask<Short>`
ShortVector.`compare​(VectorOperators.Comparison op, Vector<Short> v)`
Tests this vector by comparing it with another input vector, according to the given comparison operation.
`VectorMask<Short>`
ShortVector.`compare​(VectorOperators.Comparison op, Vector<Short> v, VectorMask<Short> m)`
Tests this vector by comparing it with another input vector, according to the given comparison operation, in lanes selected by a mask.
`abstract VectorMask<E>`
Vector.`compare​(VectorOperators.Comparison op, long e)`
Tests this vector by comparing it with an input scalar, according to the given comparison operation.
`abstract VectorMask<E>`
Vector.`compare​(VectorOperators.Comparison op, long e, VectorMask<E> m)`
Tests this vector by comparing it with an input scalar, according to the given comparison operation, in lanes selected by a mask.
`abstract VectorMask<E>`
Vector.`compare​(VectorOperators.Comparison op, Vector<E> v)`
Tests this vector by comparing it with another input vector, according to the given comparison operation.
`abstract VectorMask<E>`
Vector.`compare​(VectorOperators.Comparison op, Vector<E> v, VectorMask<E> m)`
Tests this vector by comparing it with another input vector, according to the given comparison operation, in lanes selected by a mask.