org.expasy.jpl.commons.collection.graph
Class GraphCloner<V,E>
java.lang.Object
org.expasy.jpl.commons.collection.graph.GraphCloner<V,E>
public final class GraphCloner<V,E>
- extends Object
This object clones graphs.
- Version:
- 1.0
- Author:
- nikitin
|
Method Summary |
edu.uci.ics.jung.graph.Graph<V,E> |
clone(edu.uci.ics.jung.graph.Graph<V,E> graph)
|
static
|
newInstance()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newInstance
public static <V,E> GraphCloner<V,E> newInstance()
clone
public edu.uci.ics.jung.graph.Graph<V,E> clone(edu.uci.ics.jung.graph.Graph<V,E> graph)
- Returns:
- a copy of the given undirected sparse graph.
Copyright (c) 2012 Swiss Institute of Bioinformatics. All rights reserved.