Preview API
Show preview API for:
Contents
-
InterfacesInterfacePreview FeatureDescriptionValue Classes and ObjectsModels the
LoadableDescriptorsPREVIEW attribute (JVMS ยง4.7.32PREVIEW), which permits the JVM to load mentioned classes and interfaces before theclassfile carrying this attribute is loaded.Lazy ConstantsA lazy constant is a holder of content that can be initialized at most once.Structured ConcurrencyAn API for structured concurrency.Structured ConcurrencyRepresents the configuration for aStructuredTaskScope.Structured ConcurrencyAn object used with aStructuredTaskScopePREVIEW to produce the outcome for the scope'sjoin()PREVIEW method.Structured ConcurrencyRepresents a subtask forked in aStructuredTaskScopePREVIEW withfork(Callable)PREVIEW orfork(Runnable)PREVIEW.
-
Enum ClassesEnum ClassPreview FeatureDescriptionStructured Concurrency
-
Exception ClassesException ClassPreview FeatureDescriptionValue Classes and ObjectsThrown when an identity object is required but a value object is supplied.Structured ConcurrencyStructured ConcurrencyThrown when a structure violation is detected.
-
FieldsFieldPreview FeatureDescriptionValue Classes and ObjectsLoadableDescriptorsValue Classes and ObjectsThe bit mask of
AccessFlag.IDENTITYPREVIEW access and property modifier.Strict Field Initialization in the JVMThe bit mask ofAccessFlag.STRICT_INITPREVIEW access and property modifier.
-
MethodsMethodPreview FeatureDescriptionValue Classes and ObjectsReturns
trueif thisClassobject represents a value class, otherwisefalse.java.lang.classfile.attribute.StackMapFrameInfo.of(Label, List<StackMapFrameInfo.VerificationTypeInfo>, List<StackMapFrameInfo.VerificationTypeInfo>, List<NameAndTypeEntry>) PREVIEWStrict Field Initialization in the JVMReturns a new stack map frame.Strict Field Initialization in the JVMReturns the expanded unset fields.Value Classes and ObjectsReturns the mapper for theLoadableDescriptorsattribute.Strict Field Initialization in the JVMReturnstrueif this field is a strictly-initialized field; returnsfalseotherwise.Lazy ConstantsReturns a new lazily computed list of the providedsize.Lazy ConstantsReturns a new lazily computed map with the providedkeys.Value Classes and ObjectsReturnstrueif the input is a non-null reference to an object with identity, andfalseotherwise.Value Classes and ObjectsChecks that the specified object reference is an identity object.Value Classes and ObjectsChecks that the specified object reference is an identity object.Value Classes and ObjectsChecks that the specified object reference is an identity object.Lazy ConstantsReturns a new lazily computed set whose logical membership for each distinct element candidate in the set ofelementCandidatesis computed via the providedcomputingFunctionon demand.