Update javadoc for graph package.

This commit is contained in:
Holt59
2018-02-24 21:08:52 +01:00
parent adbb1f7e61
commit 374e5e5f5c
5 changed files with 48 additions and 27 deletions

View File

@@ -13,8 +13,8 @@ public class Graph {
private final ArrayList<Node> nodes;
/**
* @param mapId
* @param nodes
* @param mapId ID of this graph.
* @param nodes List of nodes for this graph.
*/
public Graph(int mapId, ArrayList<Node> nodes) {
this.mapId = mapId;
@@ -22,7 +22,7 @@ public class Graph {
}
/**
* @return Nodes of this graph.
* @return Immutable list of nodes of this graph.
*/
public List<Node> getNodes() {
return Collections.unmodifiableList(nodes);