jist.runtime.guilog
Class GuiLog.EventNodeComparator

java.lang.Object
  extended by jist.runtime.guilog.GuiLog.EventNodeComparator
All Implemented Interfaces:
java.util.Comparator
Enclosing class:
GuiLog

public static class GuiLog.EventNodeComparator
extends java.lang.Object
implements java.util.Comparator

The EventNodeComparator class defines how to sort two Events.


Constructor Summary
GuiLog.EventNodeComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
          Compares o1 to o2 and returns a negative number, 0, or a positive number if the o1 is less than, equal to, or greater than 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

GuiLog.EventNodeComparator

public GuiLog.EventNodeComparator()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Compares o1 to o2 and returns a negative number, 0, or a positive number if the o1 is less than, equal to, or greater than o2.

Specified by:
compare in interface java.util.Comparator
Parameters:
o1 - Object
o2 - Object
Returns:
int