org.mmbase.module.core
Class MMObjectCompare
java.lang.Object
org.mmbase.module.core.MMObjectCompare
- All Implemented Interfaces:
- CompareInterface
- public class MMObjectCompare
- extends Object
- implements CompareInterface
MMObjectNodeCompare can me used as a compare function in Sortable
objects from org.mmbase.util (hitlisted)
- See Also:
NodeComparator- To Do:
- Should implement java.util.Comparator.
|
Method Summary |
int |
compare(Object thisOne,
Object other)
The compare function called by SortedVector to sort things |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MMObjectCompare
public MMObjectCompare(String fieldName)
compare
public int compare(Object thisOne,
Object other)
- Description copied from interface:
CompareInterface
- The compare function called by SortedVector to sort things
- Specified by:
compare in interface CompareInterface
MMBase build 1.8.1.20060716