com.jalios.util
Class MultiComparator
java.lang.Object
com.jalios.util.MultiComparator
- All Implemented Interfaces:
- Comparator
public class MultiComparator
- extends Object
- implements Comparator
This class is comparator which combines an array of comparator.
- Version:
- $Revision: 17861 $
- Author:
- Olivier Dedieu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REVISION
public static final String REVISION
- See Also:
- Constant Field Values
array
protected Comparator[] array
MultiComparator
public MultiComparator(Comparator[] array)
MultiComparator
public MultiComparator(Comparator cmp1,
Comparator cmp2)
MultiComparator
public MultiComparator(Comparator cmp1,
Comparator cmp2,
Comparator cmp3)
compare
public int compare(Object o1,
Object o2)
- Specified by:
compare
in interface Comparator
Copyright © 2001-2010 Jalios SA. All Rights Reserved.