@Test public final void addSource() { Assert.assertNotNull(testedObject2.getOutput()); Assert.assertNotNull(testedObject2.getOutput()); testedObject2.addSource((testedObject)); testedObject.addSink((testedObject2)); try { testedObject2.addSink((testedObject)); Assert.assertTrue(false); } catch (IllegalStateException e) { } Assert.assertNotNull(testedObject2.getOutput()); testedObject2.dispose(true); }
public synchronized boolean addSource(CoverageProcessingNode source) { ensureNotNull(source, "CoverageProcessingNode"); checkNumSources(1); if (this.sources.add(source)) { cleanOutput(); detectCycle(); return true; } return false; }
BaseCoverageProcessingNode implements
		CoverageProcessingNode { public synchronized boolean addSource(CoverageProcessingNode source) { ensureNotNull(source, "CoverageProcessingNode"); checkNumSources(1); if (this.sources.add(source)) { cleanOutput(); detectCycle(); return true; } return false; } }
BaseCoverageProcessingNode implements
		CoverageProcessingNode { public synchronized boolean addSource(CoverageProcessingNode source) { ensureNotNull(source, "CoverageProcessingNode"); checkNumSources(1); if (this.sources.add(source)) { cleanOutput(); detectCycle(); return true; } return false; } BaseCoverageProcessingNode(InternationalString name,
			InternationalString description);  BaseCoverageProcessingNode(int maxSources, InternationalString name,
			InternationalString description);  BaseCoverageProcessingNode(int maxSources, Hints hints,
			InternationalString name, InternationalString description); }
BaseCoverageProcessingNode implements
		CoverageProcessingNode { public synchronized boolean addSource(CoverageProcessingNode source) { ensureNotNull(source, "CoverageProcessingNode"); checkNumSources(1); if (this.sources.add(source)) { cleanOutput(); detectCycle(); return true; } return false; } BaseCoverageProcessingNode(InternationalString name,
			InternationalString description);  BaseCoverageProcessingNode(int maxSources, InternationalString name,
			InternationalString description);  BaseCoverageProcessingNode(int maxSources, Hints hints,
			InternationalString name, InternationalString description); synchronized void dispose(boolean force); synchronized GridCoverage2D getOutput(); synchronized void addSink(CoverageProcessingNode sink); synchronized boolean addSource(CoverageProcessingNode source); synchronized CoverageProcessingNode getSink(int index); synchronized List<CoverageProcessingNode> getSinks(); synchronized CoverageProcessingNode getSource(int index); synchronized List<CoverageProcessingNode> getSources(); synchronized boolean removeSink(CoverageProcessingNode sink); synchronized CoverageProcessingNode removeSink(int index); synchronized boolean removeSource(CoverageProcessingNode source); synchronized Hints getHints(); int getMaximumNumberOfSources(); GridCoverageFactory getCoverageFactory(); synchronized int getNumberOfSinks(); synchronized int getNumberOfSources(); InternationalString getDescription(); InternationalString getName(); synchronized CoverageProcessingNode removeSource(int index); String toString(); synchronized boolean isDisposed(); synchronized boolean isExecuted(); }
BaseCoverageProcessingNode implements
		CoverageProcessingNode { public synchronized boolean addSource(CoverageProcessingNode source) { ensureNotNull(source, "CoverageProcessingNode"); checkNumSources(1); if (this.sources.add(source)) { cleanOutput(); detectCycle(); return true; } return false; } BaseCoverageProcessingNode(InternationalString name,
			InternationalString description);  BaseCoverageProcessingNode(int maxSources, InternationalString name,
			InternationalString description);  BaseCoverageProcessingNode(int maxSources, Hints hints,
			InternationalString name, InternationalString description); synchronized void dispose(boolean force); synchronized GridCoverage2D getOutput(); synchronized void addSink(CoverageProcessingNode sink); synchronized boolean addSource(CoverageProcessingNode source); synchronized CoverageProcessingNode getSink(int index); synchronized List<CoverageProcessingNode> getSinks(); synchronized CoverageProcessingNode getSource(int index); synchronized List<CoverageProcessingNode> getSources(); synchronized boolean removeSink(CoverageProcessingNode sink); synchronized CoverageProcessingNode removeSink(int index); synchronized boolean removeSource(CoverageProcessingNode source); synchronized Hints getHints(); int getMaximumNumberOfSources(); GridCoverageFactory getCoverageFactory(); synchronized int getNumberOfSinks(); synchronized int getNumberOfSources(); InternationalString getDescription(); InternationalString getName(); synchronized CoverageProcessingNode removeSource(int index); String toString(); synchronized boolean isDisposed(); synchronized boolean isExecuted();  }