Skip to content

Commit

Permalink
Added description for size method of DirectedGraph
Browse files Browse the repository at this point in the history
  • Loading branch information
Prathamesh Sonpatki committed Sep 21, 2012
1 parent 76209e6 commit 7044c83
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/org/jruby/ir/util/DirectedGraph.java
Expand Up @@ -81,6 +81,9 @@ public void removeVertexFor(T data) {
vertex.removeAllEdges();
}

/**
* @return the number of vertices in the graph.
*/
public int size() {
return allData().size();
}
Expand Down

0 comments on commit 7044c83

Please sign in to comment.