net.mlw.vlh
Class DefaultValueListHandlerImpl.BeanComparator
java.lang.Object
net.mlw.vlh.DefaultValueListHandlerImpl.BeanComparator
- All Implemented Interfaces:
- Comparator
- Enclosing class:
- DefaultValueListHandlerImpl
- public static class DefaultValueListHandlerImpl.BeanComparator
- extends Object
- implements Comparator
Compares two beans.
- Version:
- $Revision: 1.15 $ $Date: 2006/03/29 19:47:49 $
- Author:
- Matthew L. Wilson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultValueListHandlerImpl.BeanComparator
public DefaultValueListHandlerImpl.BeanComparator(String pmethod,
int pdirection)
- Default constructor.
- Parameters:
pmethod
- The method to sort upon.pdirection
- The direction to sort.
compare
public int compare(Object obj1,
Object obj2)
- Specified by:
compare
in interface Comparator
- See Also:
java.util.Comparator.compare(Object, Object)
Copyright © 2003-2006 mlavilson. All Rights Reserved.