Class RdiskGraph.SortHelper

java.lang.Object
  extended by RdiskGraph.SortHelper
All Implemented Interfaces:
java.util.Comparator<java.lang.Integer>
Enclosing class:
RdiskGraph

public class RdiskGraph.SortHelper
extends java.lang.Object
implements java.util.Comparator<java.lang.Integer>


Field Summary
 double[] m_arrLfPositions
           
 int m_nDim
           
 int m_nSortOff
           
 
Constructor Summary
RdiskGraph.SortHelper(double[] arrLfPositions, int nDim, int nSortOff)
           
 
Method Summary
 int compare(java.lang.Integer nObj1, java.lang.Integer nObj2)
           
 boolean equals(java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_arrLfPositions

public double[] m_arrLfPositions

m_nDim

public int m_nDim

m_nSortOff

public int m_nSortOff
Constructor Detail

RdiskGraph.SortHelper

public RdiskGraph.SortHelper(double[] arrLfPositions,
                             int nDim,
                             int nSortOff)
Method Detail

compare

public int compare(java.lang.Integer nObj1,
                   java.lang.Integer nObj2)
Specified by:
compare in interface java.util.Comparator<java.lang.Integer>

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in interface java.util.Comparator<java.lang.Integer>
Overrides:
equals in class java.lang.Object