Package kieker.analysis.util.emf
Class EReferenceIndex<K,V extends org.eclipse.emf.ecore.EObject>
java.lang.Object
kieker.analysis.util.emf.EReferenceIndex<K,V>
- Type Parameters:
K-V-
public final class EReferenceIndex<K,V extends org.eclipse.emf.ecore.EObject>
extends java.lang.Object
- Since:
- 1.14
- Author:
- Sören Henning
-
Field Summary
Fields Modifier and Type Field Description protected com.google.common.collect.BiMap<K,V>indexprotected java.util.function.Function<V,K>keyCreatorprotected java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature>observedReferenceAttributesprotected org.eclipse.emf.ecore.EReferencereference -
Method Summary
Modifier and Type Method Description booleancontains(K key)static <K, V extends org.eclipse.emf.ecore.EObject>
EReferenceIndex<K,V>create(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EReference reference, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature> observedReferenceAttributes, java.util.function.Function<V,K> keyCreator)static <K, V extends org.eclipse.emf.ecore.EObject>
EReferenceIndex<K,V>create(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EReference reference, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature> observedReferenceAttributes, java.util.function.Function<V,K> keyCreator, java.util.Collection<V> values)static <K, V extends org.eclipse.emf.ecore.EObject>
EReferenceIndex<K,V>createEmpty(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EReference reference, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature> observedReferenceAttributes, java.util.function.Function<V,K> keyCreator)Vget(K key)
-
Field Details
-
index
-
reference
protected final org.eclipse.emf.ecore.EReference reference -
observedReferenceAttributes
protected final java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature> observedReferenceAttributes -
keyCreator
-
-
Method Details
-
contains
-
get
-
createEmpty
public static <K, V extends org.eclipse.emf.ecore.EObject> EReferenceIndex<K,V> createEmpty(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EReference reference, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature> observedReferenceAttributes, java.util.function.Function<V,K> keyCreator) -
create
public static <K, V extends org.eclipse.emf.ecore.EObject> EReferenceIndex<K,V> create(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EReference reference, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature> observedReferenceAttributes, java.util.function.Function<V,K> keyCreator) -
create
public static <K, V extends org.eclipse.emf.ecore.EObject> EReferenceIndex<K,V> create(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EReference reference, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature> observedReferenceAttributes, java.util.function.Function<V,K> keyCreator, java.util.Collection<V> values)
-