wavelet_util
Class noise_filter.sort_by_index

java.lang.Object
  |
  +--sort.generic_sort
        |
        +--wavelet_util.noise_filter.sort_by_index
Enclosing class:
noise_filter

private class noise_filter.sort_by_index
extends generic_sort

Sort an array of point objects by the index field.


Constructor Summary
(package private) noise_filter.sort_by_index()
           
 
Method Summary
protected  int compare(java.lang.Object a, java.lang.Object b)
          if (a.index == b.index) return 0 if (a.index < b.index) return -1 if (a.index > b.index) return 1;
 
Methods inherited from class sort.generic_sort
QuickSort, sort, swap
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

noise_filter.sort_by_index

noise_filter.sort_by_index()
Method Detail

compare

protected int compare(java.lang.Object a,
                      java.lang.Object b)
if (a.index == b.index) return 0 if (a.index < b.index) return -1 if (a.index > b.index) return 1;
Overrides:
compare in class generic_sort