O
- the output-input type.protected class Engine.EngineEdge<O> extends Object implements Handle<O>, Edge<Engine.EngineNode<?,?>>
Engine.EngineNode
s.Constructor and Description |
---|
Engine.EngineEdge(Engine.EngineNode<?,? extends O> u,
Engine.EngineNode<? super O,?> v)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
O |
get()
Delegates to the start
Engine.EngineNode 's get() method. |
Engine.EngineNode<?,? extends O> |
getU()
Gets the start node.
|
Engine.EngineNode<? super O,?> |
getV()
Gets the end node.
|
void |
set(O output)
Sets the output.
|
void |
setU(Engine.EngineNode<?,?> node)
Sets the start node.
|
void |
setV(Engine.EngineNode<?,?> node)
Sets the end node.
|
public Engine.EngineEdge(Engine.EngineNode<?,? extends O> u, Engine.EngineNode<? super O,?> v)
public Engine.EngineNode<?,? extends O> getU()
Edge
getU
in interface Edge<Engine.EngineNode<?,?>>
public Engine.EngineNode<? super O,?> getV()
Edge
getV
in interface Edge<Engine.EngineNode<?,?>>
public O get()
Engine.EngineNode
's get()
method.public void setU(Engine.EngineNode<?,?> node)
Edge
setU
in interface Edge<Engine.EngineNode<?,?>>
public void setV(Engine.EngineNode<?,?> node)
Edge
setV
in interface Edge<Engine.EngineNode<?,?>>