Class VisitorMap<N extends Node, V>
java.lang.Object
com.github.javaparser.utils.VisitorMap<N,V>
- All Implemented Interfaces:
Map<N,V>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final GenericVisitor<Boolean, Visitable> private final GenericVisitor<Integer, Void> private final Map<VisitorMap<N, V>.EqualsHashcodeOverridingFacade, V> -
Constructor Summary
ConstructorsConstructorDescriptionVisitorMap(GenericVisitor<Integer, Void> hashcodeVisitor, GenericVisitor<Boolean, Visitable> equalsVisitor) Pass the visitors to use for equals and hashcode. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleanisEmpty()keySet()voidintsize()values()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
innerMap
-
hashcodeVisitor
-
equalsVisitor
-
-
Constructor Details
-
VisitorMap
public VisitorMap(GenericVisitor<Integer, Void> hashcodeVisitor, GenericVisitor<Boolean, Visitable> equalsVisitor) Pass the visitors to use for equals and hashcode.
-
-
Method Details
-
size
-
isEmpty
-
containsKey
-
containsValue
-
get
-
put
-
remove
-
putAll
-
clear
-
keySet
-
values
-
entrySet
-