Package org.aspectj.asm.internal
Class RelationshipMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,List<IRelationship>>
-
- org.aspectj.asm.internal.RelationshipMap
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,List<IRelationship>>,IRelationshipMap
public class RelationshipMap extends HashMap<String,List<IRelationship>> implements IRelationshipMap
- 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 RelationshipMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()List<IRelationship>get(String handle)IRelationshipget(String source, IRelationship.Kind kind, String relationshipName, boolean runtimeTest, boolean createIfMissing)List<IRelationship>get(IProgramElement source)IRelationshipget(IProgramElement source, IRelationship.Kind kind, String relationshipName)IRelationshipget(IProgramElement source, IRelationship.Kind kind, String relationshipName, boolean runtimeTest, boolean createIfMissing)Set<String>getEntries()voidput(String source, IRelationship relationship)voidput(IProgramElement source, IRelationship relationship)booleanremove(String source, IRelationship relationship)voidremoveAll(String source)-
Methods inherited from class java.util.HashMap
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
-
get
public List<IRelationship> get(String handle)
- Specified by:
getin interfaceIRelationshipMap
-
get
public List<IRelationship> get(IProgramElement source)
- Specified by:
getin interfaceIRelationshipMap
-
get
public IRelationship get(String source, IRelationship.Kind kind, String relationshipName, boolean runtimeTest, boolean createIfMissing)
- Specified by:
getin interfaceIRelationshipMap
-
get
public IRelationship get(IProgramElement source, IRelationship.Kind kind, String relationshipName, boolean runtimeTest, boolean createIfMissing)
- Specified by:
getin interfaceIRelationshipMap
-
get
public IRelationship get(IProgramElement source, IRelationship.Kind kind, String relationshipName)
- Specified by:
getin interfaceIRelationshipMap
-
remove
public boolean remove(String source, IRelationship relationship)
- Specified by:
removein interfaceIRelationshipMap
-
removeAll
public void removeAll(String source)
- Specified by:
removeAllin interfaceIRelationshipMap
-
put
public void put(String source, IRelationship relationship)
- Specified by:
putin interfaceIRelationshipMap
-
put
public void put(IProgramElement source, IRelationship relationship)
- Specified by:
putin interfaceIRelationshipMap
-
clear
public void clear()
- Specified by:
clearin interfaceIRelationshipMap- Specified by:
clearin interfaceMap<String,List<IRelationship>>- Overrides:
clearin classHashMap<String,List<IRelationship>>
-
getEntries
public Set<String> getEntries()
- Specified by:
getEntriesin interfaceIRelationshipMap
-
-