Cytoscape 2.8.0 API

fing.model
Interface FingEdgeDepot


public interface FingEdgeDepot

Please try to restrain from using this class, or even looking at it. This class was created so that certain legacy applications would have an easier time using this giny.model implementation. Please use FingRootGraphFactory instead of this class.

See Also:
FingRootGraphFactory

Method Summary
 Edge getEdge(RootGraph root, int index, String id)
          This either instantiates a new edge or gets one from the recyclery, initializing it with the parameters specified.
 void recycleEdge(Edge node)
          Recycles an edge.
 

Method Detail

getEdge

Edge getEdge(RootGraph root,
             int index,
             String id)
This either instantiates a new edge or gets one from the recyclery, initializing it with the parameters specified.


recycleEdge

void recycleEdge(Edge node)
Recycles an edge. Implementations may choose to do nothing in this method and instantiate a new edge in each call to getEdge(). This method is simply a hook for Fing to tell the depository "I'm done using this edge object -- it's no longer part of a RootGraph".


Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.