Package org.cytoscape.task
Class AbstractRootNetworkCollectionTaskFactory
- java.lang.Object
-
- org.cytoscape.task.AbstractRootNetworkCollectionTaskFactory
-
- All Implemented Interfaces:
RootNetworkCollectionTaskFactory
public abstract class AbstractRootNetworkCollectionTaskFactory extends Object implements RootNetworkCollectionTaskFactory
ARootNetworkCollectionTaskFactory
that is always ready to produce a TaskIterator.Module:
core-task-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>core-task-api</artifactId> </dependency>
Cytoscape Backwards Compatibility (Abstract Class): This class is abstract and meant to be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.
-
-
Constructor Summary
Constructors Constructor Description AbstractRootNetworkCollectionTaskFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isReady(Collection<CyRootNetwork> networks)
Returns true if the supplied collection of root-networks is not null or empty.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.cytoscape.task.RootNetworkCollectionTaskFactory
createTaskIterator
-
-
-
-
Method Detail
-
isReady
public boolean isReady(Collection<CyRootNetwork> networks)
Returns true if the supplied collection of root-networks is not null or empty.- Specified by:
isReady
in interfaceRootNetworkCollectionTaskFactory
- Parameters:
networks
- The collection of root-networks.- Returns:
- true if the supplied collection is not null or empty.
-
-