org.mmbase.module.core
Class MMObjectCompare

java.lang.Object
  |
  +--org.mmbase.module.core.MMObjectCompare
All Implemented Interfaces:
CompareInterface

public class MMObjectCompare
extends java.lang.Object
implements CompareInterface

MMObjectNodeCompare can me used as a compare function in Sortable objects from org.mmbase.util (hitlisted)


Constructor Summary
MMObjectCompare(java.lang.String fieldName)
           
 
Method Summary
 int compare(java.lang.Object thisOne, java.lang.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
 

Constructor Detail

MMObjectCompare

public MMObjectCompare(java.lang.String fieldName)
Method Detail

compare

public int compare(java.lang.Object thisOne,
                   java.lang.Object other)
Description copied from interface: CompareInterface
The compare function called by SortedVector to sort things
Specified by:
compare in interface CompareInterface


MMBase 2001