|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.graph.factory.GraphFactory
Description of the Class
Constructor Summary | |
GraphFactory()
Constructor for the GraphFactory object |
Method Summary | |
DirectedGraph |
makeDirectedGraph(Contract[] contracts,
boolean isWeighted,
DirectedGraph graph)
makeDirectedGraph |
private java.lang.Object |
makeGraph(Contract[] contracts,
java.lang.reflect.InvocationHandler baseGraph,
java.lang.Class baseGraphType,
boolean isWeighted)
makeGraph |
MutableDirectedGraph |
makeMutableDirectedGraph(Contract[] contracts,
boolean isWeighted,
DirectedGraph graph)
makeMutableDirectedGraph |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GraphFactory()
Method Detail |
private java.lang.Object makeGraph(Contract[] contracts, java.lang.reflect.InvocationHandler baseGraph, java.lang.Class baseGraphType, boolean isWeighted) throws GraphException
contracts
- Which contracts to enforce.baseGraph
- Is the actual *GraphImpl which will be at the core of
the Proxy.baseGraphType
- Interface which is returned.isWeighted
- Does the graph handle Weights?
GraphException
public DirectedGraph makeDirectedGraph(Contract[] contracts, boolean isWeighted, DirectedGraph graph) throws GraphException
contracts
- - Array of Contracts this Graph should meet.isWeighted
- - If true, the Graph will implement the WeightedGraph
interface.graph
- - If it is provided, the graph will initially be equal to
the graph.
GraphException
public MutableDirectedGraph makeMutableDirectedGraph(Contract[] contracts, boolean isWeighted, DirectedGraph graph) throws GraphException
contracts
- - Array of Contracts this Graph should meet.isWeighted
- - If true, the Graph will implement the WeightedGraph
interface.graph
- - If it is provided, the graph will initially be equal to
the graph.
GraphException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |