Package com.github.javaparser.utils
Class VisitorMap<N extends Node,V>
- java.lang.Object
-
- com.github.javaparser.utils.VisitorMap<N,V>
-
-
Constructor Summary
Constructors Constructor Description VisitorMap(GenericVisitor<Integer,Void> hashcodeVisitor, GenericVisitor<Boolean,Visitable> equalsVisitor)Pass the visitors to use for equals and hashcode.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(Object key)booleancontainsValue(Object value)Set<Map.Entry<N,V>>entrySet()Vget(Object key)booleanisEmpty()Set<N>keySet()Vput(N key, V value)voidputAll(Map<? extends N,? extends V> m)Vremove(Object key)intsize()Collection<V>values()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Constructor Detail
-
VisitorMap
public VisitorMap(GenericVisitor<Integer,Void> hashcodeVisitor, GenericVisitor<Boolean,Visitable> equalsVisitor)
Pass the visitors to use for equals and hashcode.
-
-
Method Detail
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap<N extends Node,V>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap<N extends Node,V>
-
-