com.metamatrix.common.tree
Class TreeNodePropertyComparator

java.lang.Object
  extended by com.metamatrix.common.tree.TreeNodePropertyComparator
All Implemented Interfaces:
TreeNodeComparator, java.util.Comparator

public class TreeNodePropertyComparator
extends java.lang.Object
implements TreeNodeComparator


Constructor Summary
TreeNodePropertyComparator()
           
 
Method Summary
 int compare(java.lang.Object entry1, java.lang.Object entry2)
           
 int compare(TreeNode entry1, TreeNode entry2)
           
 boolean equals(java.lang.Object entry)
           
 boolean equals(TreeNodePathComparator comparator)
           
 void setPropertyDefinition(PropertyDefinition defn)
           
 void setTreeNodeEditor(TreeNodeEditor editor)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeNodePropertyComparator

public TreeNodePropertyComparator()
Method Detail

setTreeNodeEditor

public void setTreeNodeEditor(TreeNodeEditor editor)
Specified by:
setTreeNodeEditor in interface TreeNodeComparator

setPropertyDefinition

public void setPropertyDefinition(PropertyDefinition defn)

compare

public int compare(TreeNode entry1,
                   TreeNode entry2)

equals

public boolean equals(TreeNodePathComparator comparator)

compare

public int compare(java.lang.Object entry1,
                   java.lang.Object entry2)
Specified by:
compare in interface java.util.Comparator

equals

public boolean equals(java.lang.Object entry)
Specified by:
equals in interface java.util.Comparator
Overrides:
equals in class java.lang.Object


Copyright © 2009. All Rights Reserved.