Module java.base

Interface ValueLayout.OfShort

All Superinterfaces:
MemoryLayoutPREVIEW, ValueLayoutPREVIEW
Enclosing interface:
ValueLayoutPREVIEW

public static sealed interface ValueLayout.OfShort extends ValueLayoutPREVIEW
OfShort is a preview API of the Java platform.
Programs can only use OfShort when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
A value layout whose carrier is short.class.

New instances of this type can be created using ValueLayout.JAVA_SHORTPREVIEW.

Since:
19