Module java.base

Interface SwitchCase


public sealed interface SwitchCase
SwitchCase is a preview API of the Java platform.
Programs can only use SwitchCase when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Models a single case in a lookupswitch or tableswitch instruction.
Since:
22
See Also: