Author: kono
Date: 2009-11-25 17:54:11 -0800 (Wed, 25 Nov 2009)
New Revision: 18587

Modified:
   corelibs/trunk/giny/src/giny/model/GraphPerspective.java
Log:
Missing generics parameters had been added.

Modified: corelibs/trunk/giny/src/giny/model/GraphPerspective.java
===================================================================
--- corelibs/trunk/giny/src/giny/model/GraphPerspective.java    2009-11-26 
00:50:43 UTC (rev 18586)
+++ corelibs/trunk/giny/src/giny/model/GraphPerspective.java    2009-11-26 
01:54:11 UTC (rev 18587)
@@ -1,15 +1,9 @@
 package giny.model;
 import giny.filter.Filter;
+
 import java.util.Iterator;
 import java.util.List;
-import java.util.NoSuchElementException;
-import java.util.ArrayList;
 
-import java.beans.PropertyChangeSupport;
-import java.beans.PropertyChangeListener;
-
-import javax.swing.event.EventListenerList;
-
 public interface GraphPerspective {
 
  
@@ -46,14 +40,14 @@
    * @return an Iterator over the Nodes in this graph; each Object in the
    *   returned Iterator is of type giny.model.Node.
    */
-   public Iterator nodesIterator () ;
+   public Iterator<Node> nodesIterator () ;
    
  
   /**
    * Returns a list of Node objects.
    * @see #nodesIterator()
    */
-   public List nodesList () ;
+   public List<Node> nodesList () ;
  
   /**
    * Returns an array of length getNodeCount(); the array contains
@@ -67,13 +61,13 @@
   /**
    * @return an Iterator over the Edges in this graph.
    */
-   public Iterator edgesIterator () ;
+   public Iterator<Edge> edgesIterator () ;
    
   /**
    * Returns a list of Edge objects.
    * @see #edgesIterator()
    */
-   public List edgesList () ;
+   public List<Edge> edgesList () ;
  
   /**
    * Returns an array of length getEdgeCount(); the array contains
@@ -509,7 +503,7 @@
    * <tt>to</tt> Node, or the empty List if none exist; null is returned if 
either
    * of the specified nodes is not in this GraphPerspective.
    */
-   public List edgesList ( Node from, Node to ) ;
+   public List<Edge> edgesList ( Node from, Node to ) ;
  
   /**
    * Return an array of the indices in this GraphPerspective of all Edges from
@@ -1170,7 +1164,7 @@
   /**
    * This will return a List of giny.model.Edge objects that are the Edges 
between Nodes.
    */
-  public List getConnectingEdges ( List nodes );
+  public List<Edge> getConnectingEdges ( List nodes );
 
   /**
    * This will return an array of Edge indices that are the Edges between 
Nodes.

--

You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.


Reply via email to