source: trunk/autoquest-plugin-usability2/src/main/java/de/ugoe/cs/autoquest/plugin/usability2/rules/results/JoinedResult.java @ 1326

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: 812 bytes
Line 
1package de.ugoe.cs.autoquest.plugin.usability2.rules.results;
2
3import java.util.Iterator;
4import java.util.List;
5
6public class JoinedResult extends AbstractResult {
7
8    List<IResult> results;
9   
10   
11    public JoinedResult(boolean present, List<IResult> results) {
12        super(present);
13        this.results = results;
14    }
15   
16    @Override
17    public Iterator<IMatch> iterator() {
18        return new Iterator<IMatch>() {
19            @Override
20            public void remove() {
21                throw new UnsupportedOperationException();
22            }
23           
24            @Override
25            public IMatch next() {
26                return null;
27            }
28           
29            @Override
30            public boolean hasNext() {
31                return false;
32            }
33        };
34    }
35
36}
Note: See TracBrowser for help on using the repository browser.