Module java.base
Package java.lang

Interface Thread.Builder.OfPlatform

All Superinterfaces:
Thread.BuilderPREVIEW
Enclosing interface:
Thread.BuilderPREVIEW

public static sealed interface Thread.Builder.OfPlatform extends Thread.BuilderPREVIEW
OfPlatform is a preview API of the Java platform.
Programs can only use OfPlatform when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
A builder for creating a platform Thread or ThreadFactory that creates platform threads.

Unless otherwise specified, passing a null argument to a method in this interface causes a NullPointerException to be thrown.

Since:
19
See Also: