Last change
on this file since 557 was
557,
checked in by pharms, 12 years ago
|
- adapted task tree creation stuff to more general event handling
|
-
Property svn:executable set to
*
|
File size:
1.1 KB
|
Rev | Line | |
---|
[439] | 1 | // Module : $RCSfile: EqualityRule.java,v $ |
---|
| 2 | // Version : $Revision: 0.0 $ $Author: patrick $ $Date: 19.02.2012 $ |
---|
| 3 | // Project : TaskTreeCreator |
---|
| 4 | // Creation : 2012 by patrick |
---|
| 5 | // Copyright : Patrick Harms, 2012 |
---|
[557] | 6 | |
---|
[439] | 7 | package de.ugoe.cs.quest.tasktrees.nodeequality; |
---|
| 8 | |
---|
[557] | 9 | import de.ugoe.cs.quest.tasktrees.treeifc.ITaskTreeNode; |
---|
[439] | 10 | |
---|
| 11 | /** |
---|
[557] | 12 | * <p> |
---|
| 13 | * A node comparison rule is used by the {@link NodeEqualityRuleManager} to compare task tree |
---|
| 14 | * nodes with each other. It provides one method to be called for a comparison. |
---|
| 15 | * </p> |
---|
[439] | 16 | * |
---|
| 17 | * @version $Revision: $ $Date: 19.02.2012$ |
---|
| 18 | * @author 2012, last modified by $Author: patrick$ |
---|
| 19 | */ |
---|
[557] | 20 | public interface NodeComparisonRule { |
---|
[439] | 21 | |
---|
[557] | 22 | /** |
---|
| 23 | * <p> |
---|
| 24 | * compares two nodes with each other. The result of the method is either a node equality or |
---|
| 25 | * null. If it is null, it means, that the rule is not able to correctly compare the two given |
---|
| 26 | * nodes |
---|
| 27 | * </p> |
---|
| 28 | * |
---|
| 29 | * @param node1 the first task tree node to compare |
---|
| 30 | * @param node2 the second task tree node to compare |
---|
| 31 | * |
---|
| 32 | * @return as described |
---|
| 33 | */ |
---|
| 34 | public NodeEquality compare(ITaskTreeNode node1, ITaskTreeNode node2); |
---|
| 35 | |
---|
[439] | 36 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.