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.
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
-
Method Summary
Methods declared in interface java.lang.classfile.components.ClassPrinter.NodePREVIEW
name, toJson, toXml, toYaml, walk
Methods declared in interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods declared in interface java.util.List
add, add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, equals, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, set, size, sort, spliterator, subList, toArray, toArray
ListNode
when preview features are enabled.