gridsim
Class GridStatistics.Order_by_category

java.lang.Object
  |
  +--gridsim.GridStatistics.Order_by_category
All Implemented Interfaces:
java.util.Comparator
Enclosing class:
GridStatistics

class GridStatistics.Order_by_category
extends java.lang.Object
implements java.util.Comparator

This class can be used to sort a LinkedList of Stat in ascending order by the field category_field.


Constructor Summary
GridStatistics.Order_by_category()
           
 
Method Summary
 int compare(java.lang.Object a, java.lang.Object b)
           
 
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

GridStatistics.Order_by_category

public GridStatistics.Order_by_category()
Method Detail

compare

public int compare(java.lang.Object a,
                   java.lang.Object b)
Specified by:
compare in interface java.util.Comparator