org.expasy.jpl.commons.collection.graph
Class GraphCloner<V,E>

java.lang.Object
  extended by 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
<V,E> GraphCloner<V,E>
newInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.