Ignore:
Timestamp:
03/27/13 14:10:02 (11 years ago)
Author:
adeicke
Message:

Restructuring of package structure.

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-core-usability-evaluation/src/main/java/de/ugoe/cs/autoquest/usability/tasktree/FilterResult.java

    r1040 r1135  
    1313//   limitations under the License. 
    1414 
    15 package de.ugoe.cs.autoquest.usability.tasktree.filter; 
     15package de.ugoe.cs.autoquest.usability.tasktree; 
    1616 
    1717import java.util.List; 
    1818 
    1919import com.google.common.base.Predicate; 
    20 import com.google.common.collect.LinkedListMultimap; 
    2120import com.google.common.collect.Lists; 
    22 import com.google.common.collect.Multimap; 
    2321 
    24 import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElement; 
    25 import de.ugoe.cs.autoquest.tasktrees.treeifc.IEventTask; 
    2622import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskTreeNode; 
    2723 
     
    3329 * @author Alexander Deicke 
    3430 */ 
    35 public class FilterStatistic { 
     31public class FilterResult { 
    3632 
    3733    @SuppressWarnings("rawtypes") 
     
    4339 
    4440    @SuppressWarnings("rawtypes") 
    45     public FilterStatistic(Predicate filterPredicate) { 
     41    public FilterResult(Predicate filterPredicate) { 
    4642        this.filterPredicate = filterPredicate; 
    4743    } 
     
    7369    } 
    7470 
    75     /** 
    76      * <p> 
    77      * TODO: comment 
    78      * </p> 
    79      * 
    80      * @param eventTargetParent 
    81      * @return 
    82      */ 
    83     public Multimap<IGUIElement, ITaskTreeNode> groupBy() { 
    84         Multimap<IGUIElement, ITaskTreeNode> groupedNodes = LinkedListMultimap.create(); 
    85         for(ITaskTreeNode node : filteredNodes) { 
    86             IGUIElement eventTask = (IGUIElement) ((IEventTask) node).getEventTarget(); 
    87             groupedNodes.put(eventTask.getParent(), node); 
    88         } 
    89         return groupedNodes; 
    90     } 
    91  
    9271} 
Note: See TracChangeset for help on using the changeset viewer.