test_class.file: opendse-model/src/test/java/net/sf/opendse/model/MappingsTest.java
test_class.identifier: MappingsTest
test_case.body: @Test
  	public void testGetTargets() {
  		Mappings<Task, Resource> mappings = new Mappings<Task, Resource>();
  		Task t = new Task("t");
  		Resource r = new Resource("r");
  		Mapping<Task, Resource> mapping = new Mapping<Task, Resource>("m", t, r);
  		mappings.add(mapping);
  
  		Assert.assertEquals(Collections.singleton(r), mappings.getTargets(t));
  	}
test_case.class_method_signature: MappingsTest.testGetTargets()
test_case.full_signature: @Test public void testGetTargets()
test_case.identifier: testGetTargets
test_case.invocations: add assertEquals singleton getTargets
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetTargets()
focal_class.declarator: mappings = new HashSet<Mapping<T, R>>()
focal_class.modifier: protected
focal_class.original_string: protected Set<Mapping<T, R>> mappings = new HashSet<Mapping<T, R>>();
focal_class.type: Set<Mapping<T, R>>
focal_class.var_name: mappings
focal_class.declarator: taskMappings = LazyMap.decorate(new HashMap<T, Set<Mapping<T, R>>>(),
  			new InstantiateFactory(HashSet.class))
focal_class.modifier: protected
focal_class.original_string: protected Map<T, Set<Mapping<T, R>>> taskMappings = LazyMap.decorate(new HashMap<T, Set<Mapping<T, R>>>(),
  			new InstantiateFactory(HashSet.class));
focal_class.type: Map<T, Set<Mapping<T, R>>>
focal_class.var_name: taskMappings
focal_class.declarator: resourceMappings = LazyMap.decorate(new HashMap<R, Set<Mapping<T, R>>>(),
  			new InstantiateFactory(HashSet.class))
focal_class.modifier: protected
focal_class.original_string: protected Map<R, Set<Mapping<T, R>>> resourceMappings = LazyMap.decorate(new HashMap<R, Set<Mapping<T, R>>>(),
  			new InstantiateFactory(HashSet.class));
focal_class.type: Map<R, Set<Mapping<T, R>>>
focal_class.var_name: resourceMappings
focal_class.declarator: targets = LazyMap
  			.decorate(new HashMap<T, Bag<R>>(), new InstantiateFactory(HashBag.class))
focal_class.modifier: protected
focal_class.original_string: protected Map<T, Bag<R>> targets = LazyMap
  			.decorate(new HashMap<T, Bag<R>>(), new InstantiateFactory(HashBag.class));
focal_class.type: Map<T, Bag<R>>
focal_class.var_name: targets
focal_class.declarator: sources = LazyMap
  			.decorate(new HashMap<R, Bag<T>>(), new InstantiateFactory(HashBag.class))
focal_class.modifier: protected
focal_class.original_string: protected Map<R, Bag<T>> sources = LazyMap
  			.decorate(new HashMap<R, Bag<T>>(), new InstantiateFactory(HashBag.class));
focal_class.type: Map<R, Bag<T>>
focal_class.var_name: sources
focal_class.file: opendse-model/src/main/java/net/sf/opendse/model/Mappings.java
focal_class.identifier: Mappings
focal_class.interfaces: implements Iterable<Mapping<T, R>>
focal_class.class_method_signature: Mappings.add(Mapping<T, R> mapping)
focal_class.full_signature: public void add(Mapping<T, R> mapping)
focal_class.identifier: add
focal_class.modifiers: public
focal_class.parameters: (Mapping<T, R> mapping)
focal_class.return: void
focal_class.signature: void add(Mapping<T, R> mapping)
focal_class.class_method_signature: Mappings.remove(Mapping<T, R> mapping)
focal_class.full_signature: public boolean remove(Mapping<T, R> mapping)
focal_class.identifier: remove
focal_class.modifiers: public
focal_class.parameters: (Mapping<T, R> mapping)
focal_class.return: boolean
focal_class.signature: boolean remove(Mapping<T, R> mapping)
focal_class.class_method_signature: Mappings.removeAll(Collection<Mapping<T,R>> mappings)
focal_class.full_signature: public boolean removeAll(Collection<Mapping<T,R>> mappings)
focal_class.identifier: removeAll
focal_class.modifiers: public
focal_class.parameters: (Collection<Mapping<T,R>> mappings)
focal_class.return: boolean
focal_class.signature: boolean removeAll(Collection<Mapping<T,R>> mappings)
focal_class.class_method_signature: Mappings.iterator()
focal_class.full_signature: @Override public Iterator<Mapping<T, R>> iterator()
focal_class.identifier: iterator
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Iterator<Mapping<T, R>>
focal_class.signature: Iterator<Mapping<T, R>> iterator()
focal_class.class_method_signature: Mappings.size()
focal_class.full_signature: public int size()
focal_class.identifier: size
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int size()
focal_class.class_method_signature: Mappings.get(T source)
focal_class.full_signature: public Set<Mapping<T, R>> get(T source)
focal_class.identifier: get
focal_class.modifiers: public
focal_class.parameters: (T source)
focal_class.return: Set<Mapping<T, R>>
focal_class.signature: Set<Mapping<T, R>> get(T source)
focal_class.class_method_signature: Mappings.getTargets(T source)
focal_class.full_signature: public Set<R> getTargets(T source)
focal_class.identifier: getTargets
focal_class.modifiers: public
focal_class.parameters: (T source)
focal_class.return: Set<R>
focal_class.signature: Set<R> getTargets(T source)
focal_class.class_method_signature: Mappings.get(R target)
focal_class.full_signature: public Set<Mapping<T, R>> get(R target)
focal_class.identifier: get
focal_class.modifiers: public
focal_class.parameters: (R target)
focal_class.return: Set<Mapping<T, R>>
focal_class.signature: Set<Mapping<T, R>> get(R target)
focal_class.class_method_signature: Mappings.getSources(R target)
focal_class.full_signature: public Set<T> getSources(R target)
focal_class.identifier: getSources
focal_class.modifiers: public
focal_class.parameters: (R target)
focal_class.return: Set<T>
focal_class.signature: Set<T> getSources(R target)
focal_class.class_method_signature: Mappings.get(T source, R target)
focal_class.full_signature: public Set<Mapping<T, R>> get(T source, R target)
focal_class.identifier: get
focal_class.modifiers: public
focal_class.parameters: (T source, R target)
focal_class.return: Set<Mapping<T, R>>
focal_class.signature: Set<Mapping<T, R>> get(T source, R target)
focal_class.class_method_signature: Mappings.getAll()
focal_class.full_signature: public Set<Mapping<T, R>> getAll()
focal_class.identifier: getAll
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Set<Mapping<T, R>>
focal_class.signature: Set<Mapping<T, R>> getAll()
focal_method.body: public Set<R> getTargets(T source) {
  		return targets.get(source).uniqueSet();
  	}
focal_method.class_method_signature: Mappings.getTargets(T source)
focal_method.full_signature: public Set<R> getTargets(T source)
focal_method.identifier: getTargets
focal_method.invocations: uniqueSet get
focal_method.modifiers: public
focal_method.parameters: (T source)
focal_method.return: Set<R>
focal_method.signature: Set<R> getTargets(T source)