Package com.ibm.wala.cast.tree.impl
Class CAstNodeTypeMapRecorder
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<CAstNode,CAstType>
-
- com.ibm.wala.cast.tree.impl.CAstNodeTypeMapRecorder
-
- All Implemented Interfaces:
CAstNodeTypeMap
,Serializable
,Cloneable
,Map<CAstNode,CAstType>
public class CAstNodeTypeMapRecorder extends HashMap<CAstNode,CAstType> implements CAstNodeTypeMap
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description CAstNodeTypeMapRecorder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(CAstNode node, CAstType type)
void
addAll(CAstNodeTypeMap other)
Collection<CAstNode>
getMappedNodes()
CAstType
getNodeType(CAstNode node)
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-
-
-
Method Detail
-
getNodeType
public CAstType getNodeType(CAstNode node)
- Specified by:
getNodeType
in interfaceCAstNodeTypeMap
-
getMappedNodes
public Collection<CAstNode> getMappedNodes()
- Specified by:
getMappedNodes
in interfaceCAstNodeTypeMap
-
addAll
public void addAll(CAstNodeTypeMap other)
-
-