java.lang.Object
org.glavo.classfile.impl.ClassPrinterImpl.MapNodeImpl
- All Implemented Interfaces:
Map<ConstantDesc,,ClassPrinter.Node> ClassPrinter.MapNode,ClassPrinter.Node
- Enclosing class:
ClassPrinterImpl
public static final class ClassPrinterImpl.MapNodeImpl
extends Object
implements ClassPrinter.MapNode
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleanisEmpty()keySet()name()Printable name of the node.put(ConstantDesc key, ClassPrinter.Node value) voidputAll(Map<? extends ConstantDesc, ? extends ClassPrinter.Node> m) intsize()style()values()walk()Walks through the underlying tree.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.glavo.classfile.components.ClassPrinter.Node
toJson, toXml, toYamlMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
MapNodeImpl
-
-
Method Details
-
name
Description copied from interface:ClassPrinter.NodePrintable name of the node.- Specified by:
namein interfaceClassPrinter.Node- Returns:
- name of the node
-
walk
Description copied from interface:ClassPrinter.NodeWalks through the underlying tree.- Specified by:
walkin interfaceClassPrinter.Node- Returns:
- ordered stream of nodes
-
style
-
size
public int size()- Specified by:
sizein interfaceMap<ConstantDesc,ClassPrinter.Node>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceMap<ConstantDesc,ClassPrinter.Node>
-
containsKey
- Specified by:
containsKeyin interfaceMap<ConstantDesc,ClassPrinter.Node>
-
containsValue
- Specified by:
containsValuein interfaceMap<ConstantDesc,ClassPrinter.Node>
-
get
- Specified by:
getin interfaceMap<ConstantDesc,ClassPrinter.Node>
-
put
- Specified by:
putin interfaceMap<ConstantDesc,ClassPrinter.Node>
-
remove
- Specified by:
removein interfaceMap<ConstantDesc,ClassPrinter.Node>
-
putAll
- Specified by:
putAllin interfaceMap<ConstantDesc,ClassPrinter.Node>
-
clear
public void clear()- Specified by:
clearin interfaceMap<ConstantDesc,ClassPrinter.Node>
-
keySet
- Specified by:
keySetin interfaceMap<ConstantDesc,ClassPrinter.Node>
-
values
- Specified by:
valuesin interfaceMap<ConstantDesc,ClassPrinter.Node>
-
entrySet
- Specified by:
entrySetin interfaceMap<ConstantDesc,ClassPrinter.Node>
-