Package Summary Overview Summary

Module java.base
Package java.lang.classfile.componentsPREVIEW

# Interface ClassPrinter.MapNode

All Superinterfaces:
  `ClassPrinter.NodePREVIEW`, `Map<ConstantDesc, ClassPrinter.NodePREVIEW>`

Enclosing class:
  `ClassPrinterPREVIEW`

public static sealed interface ClassPrinter.MapNode extends ClassPrinter.NodePREVIEW, Map<ConstantDesc, ClassPrinter.NodePREVIEW>
`MapNode` is a preview API of the Java platform.
Programs can only use `MapNode` 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 `Map` of nested nodes.

Each `Map.Entry.getKey()` == `Map.Entry.getValue()`.`ClassPrinter.Node.name()`PREVIEW.

Since:
  22

- ## Nested Class Summary

  ## Nested classes/interfaces declared in interface java.util.Map

  `Map.Entry<K, V>`

- ## Method Summary

  ### Methods declared in interface java.lang.classfile.components.ClassPrinter.NodePREVIEW

  `name, toJson, toXml, toYaml, walk`

  ### Methods declared in interface java.util.Map

  `clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values`