Skip navigation links
Java SE 19 & JDK 19
  • Overview
  • Module
  • Package
  • Class
  • Use
  • Tree
  • Preview
  • New
  • Deprecated
  • Index
  • Help
SEARCH

Preview API

Contents

  • Interfaces
  • Classes
  • Enum Classes
  • Exception Classes
  • Methods
  • Enum Constants
  • Interfaces
    Interface
    Description
    com.sun.source.tree.CaseLabelTreePREVIEW
    A marker interface for Trees that may be used as CaseTree labels.
    com.sun.source.tree.ConstantCaseLabelTreePREVIEW
    A case label element that refers to a constant expression
    com.sun.source.tree.DeconstructionPatternTreePREVIEW
    A deconstruction pattern tree.
    com.sun.source.tree.DefaultCaseLabelTreePREVIEW
    A case label that marks default in case null, default.
    com.sun.source.tree.ParenthesizedPatternTreePREVIEW
    A tree node for a parenthesized pattern.
    com.sun.source.tree.PatternCaseLabelTreePREVIEW
    A case label element that refers to an expression
    java.lang.foreign.AddressablePREVIEW
    An object that may be projected down to a memory addressPREVIEW.
    java.lang.foreign.LinkerPREVIEW
    A linker provides access to foreign functions from Java code, and access to Java code from foreign functions.
    java.lang.foreign.MemoryAddressPREVIEW
    A memory address models a reference into a memory location.
    java.lang.foreign.MemoryLayoutPREVIEW
    A memory layout can be used to describe the contents of a memory segment.
    java.lang.foreign.MemoryLayout.PathElementPREVIEW
    An element in a layout path.
    java.lang.foreign.MemorySegmentPREVIEW
    A memory segment models a contiguous region of memory.
    java.lang.foreign.MemorySessionPREVIEW
    A memory session manages the lifecycle of one or more resources.
    java.lang.foreign.SegmentAllocatorPREVIEW
    An object that may be used to allocate memory segmentsPREVIEW.
    java.lang.foreign.SymbolLookupPREVIEW
    A symbol lookup is an object that may be used to retrieve the address of a symbol in one or more libraries.
    java.lang.foreign.VaListPREVIEW
    A variable argument list, similar in functionality to a C va_list.
    java.lang.foreign.VaList.BuilderPREVIEW
    A builder used to construct a variable argument listPREVIEW.
    java.lang.Thread.BuilderPREVIEW
    A builder for Thread and ThreadFactory objects.
    java.lang.Thread.Builder.OfPlatformPREVIEW
    A builder for creating a platform Thread or ThreadFactory that creates platform threads.
    java.lang.Thread.Builder.OfVirtualPREVIEW
    A builder for creating a virtual Thread or ThreadFactory that creates virtual threads.
  • Classes
    Class
    Description
    java.lang.foreign.FunctionDescriptorPREVIEW
    A function descriptor is made up of zero or more argument layouts and zero or one return layout.
    java.lang.foreign.GroupLayoutPREVIEW
    A compound layout that aggregates multiple member layouts.
    java.lang.foreign.SequenceLayoutPREVIEW
    A compound layout that denotes a repetition of a given element layout.
    java.lang.foreign.ValueLayoutPREVIEW
    A value layout.
    java.lang.foreign.ValueLayout.OfAddressPREVIEW
    A value layout whose carrier is MemoryAddress.class.
    java.lang.foreign.ValueLayout.OfBooleanPREVIEW
    A value layout whose carrier is boolean.class.
    java.lang.foreign.ValueLayout.OfBytePREVIEW
    A value layout whose carrier is byte.class.
    java.lang.foreign.ValueLayout.OfCharPREVIEW
    A value layout whose carrier is char.class.
    java.lang.foreign.ValueLayout.OfDoublePREVIEW
    A value layout whose carrier is double.class.
    java.lang.foreign.ValueLayout.OfFloatPREVIEW
    A value layout whose carrier is float.class.
    java.lang.foreign.ValueLayout.OfIntPREVIEW
    A value layout whose carrier is int.class.
    java.lang.foreign.ValueLayout.OfLongPREVIEW
    A value layout whose carrier is long.class.
    java.lang.foreign.ValueLayout.OfShortPREVIEW
    A value layout whose carrier is short.class.
    java.lang.runtime.SwitchBootstrapsPREVIEW
    Bootstrap methods for linking invokedynamic call sites that implement the selection functionality of the switch statement.
  • Enum Classes
    Enum Class
    Description
    com.sun.management.HotSpotDiagnosticMXBean.ThreadDumpFormatPREVIEW
    Thread dump format.
  • Exception Classes
    Exception Class
    Description
    java.lang.MatchExceptionPREVIEW
    Thrown to indicate an unexpected failure in pattern matching.
  • Methods
    Method
    Description
    com.sun.jdi.request.ThreadDeathRequest.addPlatformThreadsOnlyFilter()PREVIEW
    Restricts the events generated by this request to only platform threads.
    com.sun.jdi.request.ThreadStartRequest.addPlatformThreadsOnlyFilter()PREVIEW
    Restricts the events generated by this request to only platform threads.
    com.sun.jdi.ThreadReference.isVirtual()PREVIEW
    Returns true if the thread is a virtual thread.
    com.sun.management.HotSpotDiagnosticMXBean.dumpThreads(String, HotSpotDiagnosticMXBean.ThreadDumpFormat)PREVIEW
    Generate a thread dump to the given file in the given format.
    com.sun.source.tree.CaseTree.getLabels()PREVIEW
    Returns the labels for this case.
    com.sun.source.tree.TreeVisitor.visitConstantCaseLabel(ConstantCaseLabelTree, P)PREVIEW
    Visits a ConstantCaseLabelTree node.
    com.sun.source.tree.TreeVisitor.visitDeconstructionPattern(DeconstructionPatternTree, P)PREVIEW
    Visits a DeconstructionPatternTree node.
    com.sun.source.tree.TreeVisitor.visitDefaultCaseLabel(DefaultCaseLabelTree, P)PREVIEW
    Visits a DefaultCaseLabelTree node.
    com.sun.source.tree.TreeVisitor.visitParenthesizedPattern(ParenthesizedPatternTree, P)PREVIEW
    Visits a ParenthesizedPatternTree node.
    com.sun.source.tree.TreeVisitor.visitPatternCaseLabel(PatternCaseLabelTree, P)PREVIEW
    Visits a PatternCaseLabelTree node.
    com.sun.source.util.SimpleTreeVisitor.visitConstantCaseLabel(ConstantCaseLabelTree, P)PREVIEW
    Visits a ConstantCaseLabelTree node.
    com.sun.source.util.SimpleTreeVisitor.visitDeconstructionPattern(DeconstructionPatternTree, P)PREVIEW
    Visits a DeconstructionPatternTree node.
    com.sun.source.util.SimpleTreeVisitor.visitDefaultCaseLabel(DefaultCaseLabelTree, P)PREVIEW
    Visits a DefaultCaseLabelTree node.
    com.sun.source.util.SimpleTreeVisitor.visitParenthesizedPattern(ParenthesizedPatternTree, P)PREVIEW
    Visits a ParenthesizedPatternTree node.
    com.sun.source.util.SimpleTreeVisitor.visitPatternCaseLabel(PatternCaseLabelTree, P)PREVIEW
    Visits a PatternCaseLabelTree node.
    com.sun.source.util.TreeScanner.visitConstantCaseLabel(ConstantCaseLabelTree, P)PREVIEW
    Visits a ConstantCaseLabelTree node.
    com.sun.source.util.TreeScanner.visitDeconstructionPattern(DeconstructionPatternTree, P)PREVIEW
    Visits a DeconstructionPatternTree node.
    com.sun.source.util.TreeScanner.visitDefaultCaseLabel(DefaultCaseLabelTree, P)PREVIEW
    Visits a DefaultCaseLabelTree node.
    com.sun.source.util.TreeScanner.visitParenthesizedPattern(ParenthesizedPatternTree, P)PREVIEW
    Visits a ParenthesizedPatternTree node.
    com.sun.source.util.TreeScanner.visitPatternCaseLabel(PatternCaseLabelTree, P)PREVIEW
    Visits a PatternCaseLabelTree node.
    java.lang.invoke.MethodHandles.collectCoordinates(VarHandle, int, MethodHandle)PREVIEW
    Adapts a target var handle by pre-processing a sub-sequence of its coordinate values with a filter (a method handle).
    java.lang.invoke.MethodHandles.dropCoordinates(VarHandle, int, Class<?>...)PREVIEW
    Returns a var handle which will discard some dummy coordinates before delegating to the target var handle.
    java.lang.invoke.MethodHandles.filterCoordinates(VarHandle, int, MethodHandle...)PREVIEW
    Adapts a target var handle by pre-processing incoming coordinate values using unary filter functions.
    java.lang.invoke.MethodHandles.filterValue(VarHandle, MethodHandle, MethodHandle)PREVIEW
    Adapts a target var handle by pre-processing incoming and outgoing values using a pair of filter functions.
    java.lang.invoke.MethodHandles.insertCoordinates(VarHandle, int, Object...)PREVIEW
    Provides a target var handle with one or more bound coordinates in advance of the var handle's invocation.
    java.lang.invoke.MethodHandles.memorySegmentViewVarHandle(ValueLayout)PREVIEW
    Creates a var handle object, which can be used to dereference a memory segmentPREVIEW by viewing its contents as a sequence of the provided value layout.
    java.lang.invoke.MethodHandles.permuteCoordinates(VarHandle, List<Class<?>>, int...)PREVIEW
    Provides a var handle which adapts the coordinate values of the target var handle, by re-arranging them so that the new coordinates match the provided ones.
    java.lang.Thread.isVirtual()PREVIEW
    Returns true if this thread is a virtual thread.
    java.lang.Thread.ofPlatform()PREVIEW
    Returns a builder for creating a platform Thread or ThreadFactory that creates platform threads.
    java.lang.Thread.ofVirtual()PREVIEW
    Returns a builder for creating a virtual Thread or ThreadFactory that creates virtual threads.
    java.lang.Thread.startVirtualThread(Runnable)PREVIEW
    Creates a virtual thread to execute a task and schedules it to execute.
    java.nio.channels.FileChannel.map(FileChannel.MapMode, long, long, MemorySession)PREVIEW
    Maps a region of this channel's file into a new mapped memory segment, with the given offset, size and memory session.
    java.util.concurrent.Executors.newThreadPerTaskExecutor(ThreadFactory)PREVIEW
    Creates an Executor that starts a new Thread for each task.
    java.util.concurrent.Executors.newVirtualThreadPerTaskExecutor()PREVIEW
    Creates an Executor that starts a new virtual Thread for each task.
    jdk.jfr.consumer.RecordedThread.isVirtual()PREVIEW
    Returns true if this is a virtual Thread, false otherwise.
  • Enum Constants
    Enum Constant
    Description
    com.sun.source.tree.Tree.Kind.CONSTANT_CASE_LABELPREVIEW
    Used for instances of ConstantCaseLabelTreePREVIEW.
    com.sun.source.tree.Tree.Kind.DECONSTRUCTION_PATTERNPREVIEW
    Used for instances of DeconstructionPatternTreePREVIEW.
    com.sun.source.tree.Tree.Kind.DEFAULT_CASE_LABELPREVIEW
    Used for instances of DefaultCaseLabelTreePREVIEW.
    com.sun.source.tree.Tree.Kind.PARENTHESIZED_PATTERNPREVIEW
    Used for instances of ParenthesizedPatternTreePREVIEW.
    com.sun.source.tree.Tree.Kind.PATTERN_CASE_LABELPREVIEW
    Used for instances of PatternCaseLabelTreePREVIEW.

Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Other versions.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2022, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.