TPTP 4.2.0 Platform Project
Public API Specification

org.eclipse.hyades.uml2sd.util
Class TimeEventComparator

java.lang.Object
  extended byorg.eclipse.hyades.uml2sd.util.TimeEventComparator
All Implemented Interfaces:
java.util.Comparator

public class TimeEventComparator
extends java.lang.Object
implements java.util.Comparator

Time event comparator


Constructor Summary
TimeEventComparator()
           
 
Method Summary
 int compare(java.lang.Object arg0, java.lang.Object arg1)
          Compares two time events Returns 0 (equal) if one of args is not a time event
 
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

TimeEventComparator

public TimeEventComparator()
Method Detail

compare

public int compare(java.lang.Object arg0,
                   java.lang.Object arg1)
Compares two time events Returns 0 (equal) if one of args is not a time event

Specified by:
compare in interface java.util.Comparator
Returns:
1 if arg0 is greater, 0 if equal, -1 otherwise

TPTP 4.2.0 Platform Project
Public API Specification