Last change
on this file since 1326 was
1326,
checked in by khartmann, 10 years ago
|
Moved alexanders code into a new plugin project.
First commit of my experimental code (needs a lot of cleanup).
|
File size:
580 bytes
|
Line | |
---|
1 | package de.ugoe.cs.autoquest.plugin.usability2.rules.operator.visitors; |
---|
2 | |
---|
3 | import java.util.List; |
---|
4 | import java.util.Queue; |
---|
5 | |
---|
6 | import de.ugoe.cs.autoquest.plugin.usability2.rules.operator.IFilter; |
---|
7 | import de.ugoe.cs.autoquest.tasktrees.treeifc.ITask; |
---|
8 | |
---|
9 | public class FindAtEnd extends AbstractBFSContinuableScanner { |
---|
10 | |
---|
11 | public FindAtEnd(IFilter marked) { |
---|
12 | super(marked); |
---|
13 | } |
---|
14 | |
---|
15 | @Override |
---|
16 | protected void visitSequence(List<? extends ITask> children, Queue<ITask> queue) { |
---|
17 | if(!children.isEmpty()) |
---|
18 | queue.add(children.get(children.size()-1)); |
---|
19 | } |
---|
20 | |
---|
21 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.