comparison src/alice/jungle/operations/NetworkNodePath.java @ 76:9e3198bf9547

Modified NetworkNodePath
author one
date Tue, 15 Oct 2013 15:53:36 +0900
parents b0af3960917f
children 5b9708d9febc
comparison
equal deleted inserted replaced
75:87ec5dd0dc27 76:9e3198bf9547
27 } 27 }
28 } 28 }
29 29
30 public NetworkNodePath() { 30 public NetworkNodePath() {
31 path = new LinkedList<Integer>(); 31 path = new LinkedList<Integer>();
32 }
33
34 public NetworkNodePath(NodePath _p) {
35 path = new LinkedList<Integer>();
36 for(Integer pos: _p) {
37 path.add(pos);
38 }
32 } 39 }
33 40
34 private NetworkNodePath(LinkedList<Integer> _path) { 41 private NetworkNodePath(LinkedList<Integer> _path) {
35 path = _path; 42 path = _path;
36 } 43 }