Package com.jalios.util
Class MultiComparator
- java.lang.Object
-
- com.jalios.util.MultiComparator
-
- All Implemented Interfaces:
java.util.Comparator
public class MultiComparator extends java.lang.Object implements java.util.Comparator
This class is comparator which combines an array of comparator.- Version:
- $Revision: 17861 $
- Author:
- Olivier Dedieu
-
-
Constructor Summary
Constructors Constructor Description MultiComparator(java.util.Comparator[] array)
MultiComparator(java.util.Comparator cmp1, java.util.Comparator cmp2)
MultiComparator(java.util.Comparator cmp1, java.util.Comparator cmp2, java.util.Comparator cmp3)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(java.lang.Object o1, java.lang.Object o2)
-
-
-
Field Detail
-
REVISION
public static final java.lang.String REVISION
- See Also:
- Constant Field Values
-
array
protected java.util.Comparator[] array
-
-
Constructor Detail
-
MultiComparator
public MultiComparator(java.util.Comparator[] array)
-
MultiComparator
public MultiComparator(java.util.Comparator cmp1, java.util.Comparator cmp2)
-
MultiComparator
public MultiComparator(java.util.Comparator cmp1, java.util.Comparator cmp2, java.util.Comparator cmp3)
-
-