Package org.aspectj.asm.internal
Klasse RelationshipMap
- Alle implementierten Schnittstellen:
Serializable
,Cloneable
,Map<String,
,List<IRelationship>> IRelationshipMap
public class RelationshipMap
extends HashMap<String,List<IRelationship>>
implements IRelationshipMap
- Autor:
- Mik Kersten, Andy Clement
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
clear()
Clear all of the relationships in the map.get
(String source, IRelationship.Kind kind, String relationshipName, boolean runtimeTest, boolean createIfMissing) Return a relationship matching the kind and name for the given element.get
(IProgramElement source) get
(IProgramElement source, IRelationship.Kind kind, String relationshipName) Return a relationship matching the kind and name for the given element.get
(IProgramElement source, IRelationship.Kind kind, String relationshipName, boolean runtimeTest, boolean createIfMissing) Return a relationship matching the kind and name for the given element.void
put
(String source, IRelationship relationship) void
put
(IProgramElement source, IRelationship relationship) boolean
remove
(String source, IRelationship relationship) void
Von Klasse geerbte Methoden java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Von Klasse geerbte Methoden java.util.AbstractMap
equals, hashCode, toString
-
Konstruktordetails
-
RelationshipMap
public RelationshipMap()
-
-
Methodendetails
-
get
- Angegeben von:
get
in SchnittstelleIRelationshipMap
- Gibt zurück:
- list of relationships or null if the source element has no relationships
-
get
- Angegeben von:
get
in SchnittstelleIRelationshipMap
- Gibt zurück:
- list of relationships or null if the source element has no relationships
-
get
public IRelationship get(String source, IRelationship.Kind kind, String relationshipName, boolean runtimeTest, boolean createIfMissing) Beschreibung aus Schnittstelle kopiert:IRelationshipMap
Return a relationship matching the kind and name for the given element. Creates the relationship if not found.- Angegeben von:
get
in SchnittstelleIRelationshipMap
- Gibt zurück:
- null if the relationship is not found.
-
get
public IRelationship get(IProgramElement source, IRelationship.Kind kind, String relationshipName, boolean runtimeTest, boolean createIfMissing) Beschreibung aus Schnittstelle kopiert:IRelationshipMap
Return a relationship matching the kind and name for the given element.- Angegeben von:
get
in SchnittstelleIRelationshipMap
- Gibt zurück:
- null if the relationship is not found.
-
get
Beschreibung aus Schnittstelle kopiert:IRelationshipMap
Return a relationship matching the kind and name for the given element.- Angegeben von:
get
in SchnittstelleIRelationshipMap
- Gibt zurück:
- null if the relationship is not found.
-
remove
- Angegeben von:
remove
in SchnittstelleIRelationshipMap
-
removeAll
- Angegeben von:
removeAll
in SchnittstelleIRelationshipMap
-
put
- Angegeben von:
put
in SchnittstelleIRelationshipMap
-
put
- Angegeben von:
put
in SchnittstelleIRelationshipMap
-
clear
public void clear()Beschreibung aus Schnittstelle kopiert:IRelationshipMap
Clear all of the relationships in the map.- Angegeben von:
clear
in SchnittstelleIRelationshipMap
- Angegeben von:
clear
in SchnittstelleMap<String,
List<IRelationship>> - Setzt außer Kraft:
clear
in KlasseHashMap<String,
List<IRelationship>>
-
getEntries
- Angegeben von:
getEntries
in SchnittstelleIRelationshipMap
-