org.logicalcobwebs.cglib.util
Class ParallelSorter.ComparatorComparer

java.lang.Object
  extended by org.logicalcobwebs.cglib.util.ParallelSorter.ComparatorComparer
All Implemented Interfaces:
ParallelSorter.Comparer
Enclosing class:
ParallelSorter

static class ParallelSorter.ComparatorComparer
extends java.lang.Object
implements ParallelSorter.Comparer


Field Summary
private  java.lang.Object[] a
           
private  java.util.Comparator cmp
           
 
Constructor Summary
ParallelSorter.ComparatorComparer(java.lang.Object[] a, java.util.Comparator cmp)
           
 
Method Summary
 int compare(int i, int j)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

a

private java.lang.Object[] a

cmp

private java.util.Comparator cmp
Constructor Detail

ParallelSorter.ComparatorComparer

public ParallelSorter.ComparatorComparer(java.lang.Object[] a,
                                         java.util.Comparator cmp)
Method Detail

compare

public int compare(int i,
                   int j)
Specified by:
compare in interface ParallelSorter.Comparer