paths) {</b>
<b class="fc">&nbsp;            if (path.objects().size() &gt; 3) {</b>
<b class="fc">&nbsp;                System.out.println(path.toString() + &quot; &quot; + ((Vertex) path.objects().get(3)).&lt;String&gt;value(&quot;name&quot;));</b>
&nbsp;            } else {
<b class="fc">&nbsp;                System.out.println(path.toString() + &quot; &quot; + ((Vertex) path.objects().get(2)).&lt;String&gt;value(&quot;name&quot;));</b>
&nbsp;            }
&nbsp;        }
&nbsp;
<b class="fc">&nbsp;     