Understanding java code for graphs
<p>I am quite new to java and trying to learn it by reading java code, i found a code to find strongly connected components in a directed graph from below source:
<a href="http://learnedstuffs.wordpress.com/2012/03/18/strongly-connected-components-using-tarjans-algorithm/" rel="nofollow">http://learnedstuffs.wordpress.com/2012/03/18/strongly-connected-components-using-tarjans-algorithm/</a></p>

<p>i successfully executed the program but i am not able to grasp the code due to my lack of understanding of java language</p>

<p>eg. 
1. i am stuck at below lines of code in (graph.java)<br>
    {
        protected Vector(Node) nodes = new Vector(Node)();<br>
        protected Vector(Edge) edges = new Vector(Edge)();
    }</p>

<p>i know vector is class but what is "vector(Node)()" means?<br>
please note i was not able to write anything between &lt;> signs so i put () instead of &lt;> in above 2 lines of code just after where ever the name <strong>Vector</strong> appears</p>

<p>2 i know graph.java contains graph class, but there is no constructor, so 
how Graph graph = new Graph(); is working?</p>

<p>these are basic questions but i will appreciate if somebody tell me what is the better way to understand java code starting from here?</p>

<p>Thanks &amp; Regards
Daman</p>

<blockquote>
  <p>Blockquote</p>
</blockquote>
