From 7044c837f521156d5a7209beca47f1f96b2b4372 Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Fri, 21 Sep 2012 21:35:26 +0530 Subject: [PATCH] Added description for size method of DirectedGraph --- src/org/jruby/ir/util/DirectedGraph.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/org/jruby/ir/util/DirectedGraph.java b/src/org/jruby/ir/util/DirectedGraph.java index 970da7b93fb..6813dd3ae42 100644 --- a/src/org/jruby/ir/util/DirectedGraph.java +++ b/src/org/jruby/ir/util/DirectedGraph.java @@ -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(); }