ch.elca.dependency.graph
Interface GraphProcessor
- All Known Implementing Classes:
- AbstractGraphProcessor
- public interface GraphProcessor
An interface for processing Graphs. Do not forget that changing a
graph without first making a copy of it changes the contents of the
original Graph. If you want to process the original graph, it's
okay, but if you just want to return a graph in function of the
original graph (and leave the original Graph unchanged), copy the
Graph first. For copying a Graph you can use the class
ch.elca.dependency.graph.GraphUtils
.
- Version:
- 1.0-beta
- Author:
- Pawel Kowalski
- See Also:
GraphUtils.copy(Graph)
process
public Graph process(Graph graph)
- Process a graph. Copy the Graph passed as parameter if you
don't want to change the original Graph but return a new Graph
in function of the old instead.
- Parameters:
graph
- a Graph
value
- Returns:
- a
Graph
value - See Also:
GraphUtils.copy(Graph)
Copyright © 2003 ELCA Informatique SA. All Rights Reserved.