Enum Class VectorShape

java.lang.Object
java.lang.Enum<VectorShape>
jdk.incubator.vector.VectorShape
All Implemented Interfaces:
Serializable, Comparable<VectorShape>, Constable

public enum VectorShape extends Enum<VectorShape>
A VectorShape selects a particular implementation of Vectors. A shape in combination with the element type determines a particular vector species object.
API Note:
Because not all shapes are supported by all platforms, shape-agnostic code is more portable. User code that selects particular shapes may fail to run, or run slowly, on some platforms. Use VectorShape.preferredShape() and VectorSpecies.ofPreferred() to select the shape that is usually preferable for most uses.