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
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidclear()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.voidput(String source, IRelationship relationship) voidput(IProgramElement source, IRelationship relationship) booleanremove(String source, IRelationship relationship) voidVon 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, valuesVon Klasse geerbte Methoden java.util.AbstractMap
equals, hashCode, toString
-
Konstruktordetails
-
RelationshipMap
public RelationshipMap()
-
-
Methodendetails
-
get
- Angegeben von:
getin SchnittstelleIRelationshipMap- Gibt zurück:
- list of relationships or null if the source element has no relationships
-
get
- Angegeben von:
getin 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:IRelationshipMapReturn a relationship matching the kind and name for the given element. Creates the relationship if not found.- Angegeben von:
getin 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:IRelationshipMapReturn a relationship matching the kind and name for the given element.- Angegeben von:
getin SchnittstelleIRelationshipMap- Gibt zurück:
- null if the relationship is not found.
-
get
Beschreibung aus Schnittstelle kopiert:IRelationshipMapReturn a relationship matching the kind and name for the given element.- Angegeben von:
getin SchnittstelleIRelationshipMap- Gibt zurück:
- null if the relationship is not found.
-
remove
- Angegeben von:
removein SchnittstelleIRelationshipMap
-
removeAll
- Angegeben von:
removeAllin SchnittstelleIRelationshipMap
-
put
- Angegeben von:
putin SchnittstelleIRelationshipMap
-
put
- Angegeben von:
putin SchnittstelleIRelationshipMap
-
clear
public void clear()Beschreibung aus Schnittstelle kopiert:IRelationshipMapClear all of the relationships in the map.- Angegeben von:
clearin SchnittstelleIRelationshipMap- Angegeben von:
clearin SchnittstelleMap<String,List<IRelationship>> - Setzt außer Kraft:
clearin KlasseHashMap<String,List<IRelationship>>
-
getEntries
- Angegeben von:
getEntriesin SchnittstelleIRelationshipMap
-