org.jikesrvm.adaptive.database.callgraph
Class PartialCallGraph.OrderByTotalWeight

java.lang.Object
  extended by org.jikesrvm.adaptive.database.callgraph.PartialCallGraph.OrderByTotalWeight
All Implemented Interfaces:
Comparator<CallSite>
Enclosing class:
PartialCallGraph

private final class PartialCallGraph.OrderByTotalWeight
extends Object
implements Comparator<CallSite>

Used to compare two call sites by total weight.


Constructor Summary
private PartialCallGraph.OrderByTotalWeight()
           
 
Method Summary
 int compare(CallSite o1, CallSite o2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

PartialCallGraph.OrderByTotalWeight

private PartialCallGraph.OrderByTotalWeight()
Method Detail

compare

public int compare(CallSite o1,
                   CallSite o2)
Specified by:
compare in interface Comparator<CallSite>