Last change
on this file since 818 was
655,
checked in by pharms, 12 years ago
|
- removed old copyright file header
|
-
Property svn:executable set to
*
|
File size:
927 bytes
|
Line | |
---|
1 | package de.ugoe.cs.quest.tasktrees.nodeequality; |
---|
2 | |
---|
3 | import de.ugoe.cs.quest.tasktrees.treeifc.ITaskTreeNode; |
---|
4 | |
---|
5 | /** |
---|
6 | * <p> |
---|
7 | * A node comparison rule is used by the {@link NodeEqualityRuleManager} to compare task tree |
---|
8 | * nodes with each other. It provides one method to be called for a comparison. |
---|
9 | * </p> |
---|
10 | * |
---|
11 | * @version $Revision: $ $Date: 19.02.2012$ |
---|
12 | * @author 2012, last modified by $Author: patrick$ |
---|
13 | */ |
---|
14 | public interface NodeComparisonRule { |
---|
15 | |
---|
16 | /** |
---|
17 | * <p> |
---|
18 | * compares two nodes with each other. The result of the method is either a node equality or |
---|
19 | * null. If it is null, it means, that the rule is not able to correctly compare the two given |
---|
20 | * nodes |
---|
21 | * </p> |
---|
22 | * |
---|
23 | * @param node1 the first task tree node to compare |
---|
24 | * @param node2 the second task tree node to compare |
---|
25 | * |
---|
26 | * @return as described |
---|
27 | */ |
---|
28 | public NodeEquality compare(ITaskTreeNode node1, ITaskTreeNode node2); |
---|
29 | |
---|
30 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.