I\'ve a directed unweighted graph. Number of nodes and all links between nodes are given. I tried to do the task with array of vectors but java doesn\'t support it. ArrayLis
Too bad that you are asking for an implementation of a directed unweighted graph rather than for a straight-use. Otherwise, I will suggest you to use a readily-made framework for almost anything that relates to network/graph called JUNG2. You can use it either in GUI or in non-GUI mode. It will save you a lot of time tinkering. Following is its tutorial link:
http://www.grotto-networking.com/JUNG/JUNG2-Tutorial.pdf