Module java.base

Interface ValueLayout.OfChar

All Superinterfaces:
MemoryLayoutPREVIEW, ValueLayoutPREVIEW
Enclosing interface:
ValueLayoutPREVIEW

public static sealed interface ValueLayout.OfChar extends ValueLayoutPREVIEW
OfChar is a preview API of the Java platform.
Programs can only use OfChar 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 char.class.

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

Since:
19