Class NetworkInputSelector
java.lang.Object
|
+----java.util.VectorIterator
|
+----ConnectorStoreIterator
|
+----InConnectorStoreIterator
|
+----InConnectorSelector
|
+----NetworkInputSelector
- class NetworkInputSelector
- extends InConnectorSelector
An InConnectorSelector that selects the InConnectors that serve as
input for a collection of modules. These are the InConnectors that do
not receive their input from other modules in the collection because
they have no connection to modules in the collection. They either
have no connection at all, or are connected to a module that is not in
the collection.
- Version:
- $Revision: 1.3 $
-
outConnectors
- The OutConnectors of the collection of modules for which the
connectors that won't receive input must be found.
-
NetworkInputSelector(OutConnectorStore)
-
-
participating(InConnector)
-
outConnectors
private OutConnectorStore outConnectors
- The OutConnectors of the collection of modules for which the
connectors that won't receive input must be found.
NetworkInputSelector
public NetworkInputSelector(OutConnectorStore outConnectors)
- Parameters:
- outConnectors - the OutConnectors of the collection of modules
for which the connectors that won't receive input must be
found.
participating
public boolean participating(InConnector c)
- Returns:
-
true
if the connector is not connected to a
module in the collection, false
otherwise.
- Overrides:
- participating in class InConnectorSelector