G
- unnecessary?public abstract class AbstractGraph<G> extends java.lang.Object implements Graph
Graph
interface,
to minimize the effort required to implement the interface.Constructor and Description |
---|
AbstractGraph() |
Modifier and Type | Method and Description |
---|---|
void |
peekAll(Supplier<? extends Peek<?>> supplier,
Predicate<Vertex<?,?,?>> select)
Insert Peek oplets returned by the specified
Supplier into
the outputs of all of the oplets which satisfy the specified
Predicate and where the output's Connector.isConnected()
is true. |
<N extends Oplet<C,P>,C,P> |
pipe(Connector<C> output,
N oplet)
|
<N extends Source<P>,P> |
source(N oplet)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEdges, getVertices, insert
public <N extends Source<P>,P> Connector<P> source(N oplet)
Graph
public <N extends Oplet<C,P>,C,P> Connector<P> pipe(Connector<C> output, N oplet)
Graph
Vertex
associated with the
specified Oplet
.
The new Vertex
has one input and one output Connector
.
An Edge
is created connecting the specified output connector to
the new vertice's input connector.
pipe
in interface Graph
N
- an Oplet typeC
- tuple type of input streamsP
- tuple type of output streamsoutput
- the output connector to connect to the vertice's input connectoroplet
- the oplet to associate with the new Vertex
Vertex
public void peekAll(Supplier<? extends Peek<?>> supplier, Predicate<Vertex<?,?,?>> select)
Graph
Supplier
into
the outputs of all of the oplets which satisfy the specified
Predicate
and where the output's Connector.isConnected()
is true.Copyright © 2016 The Apache Software Foundation. All Rights Reserved - bbe71fa-20161201-1641