Module java.base

Interface ClassPrinter.ListNode

All Superinterfaces:
ClassPrinter.NodePREVIEW, Collection<ClassPrinter.NodePREVIEW>, Iterable<ClassPrinter.NodePREVIEW>, List<ClassPrinter.NodePREVIEW>, SequencedCollection<ClassPrinter.NodePREVIEW>
Enclosing class:
ClassPrinterPREVIEW

public static sealed interface ClassPrinter.ListNode extends ClassPrinter.NodePREVIEW, List<ClassPrinter.NodePREVIEW>
ListNode is a preview API of the Java platform.
Programs can only use ListNode when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
A tree node holding List of nested nodes.
Since:
22