Changeset 1847
- Timestamp:
- 12/23/14 11:15:34 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/TaskPath.java
r1767 r1847 15 15 package de.ugoe.cs.autoquest.tasktrees.treeifc; 16 16 17 import java.util.LinkedList; 17 import java.util.ArrayList; 18 import java.util.List; 18 19 19 20 /** … … 27 28 28 29 /** */ 29 private Li nkedList<Entry> taskList;30 private List<Entry> taskList; 30 31 31 32 /** … … 35 36 public TaskPath() { 36 37 super(); 37 taskList = new LinkedList<Entry>();38 taskList = new ArrayList<Entry>(); 38 39 } 39 40 … … 59 60 */ 60 61 public ITask removeLast() { 61 Entry last = taskList.remove Last();62 Entry last = taskList.remove(taskList.size() - 1); 62 63 if (last != null) { 63 64 return last.getTask(); … … 72 73 */ 73 74 public ITask getLast() { 74 Entry last = taskList.get Last();75 Entry last = taskList.get(taskList.size() - 1); 75 76 if (last != null) { 76 77 return last.getTask(); … … 128 129 public Entry get(int index) { 129 130 return taskList.get(index); 130 }131 132 /**133 *134 */135 public void remove(int index) {136 taskList.remove(index);137 131 } 138 132
Note: See TracChangeset
for help on using the changeset viewer.