src/main/java/org/jboss/util/threadpool/BasicThreadPool.java
/** Order TimeoutInfo based on the timestamp at which the task needs to
       * be completed by.
       * @param o a TimeoutInfo
       * @return the diff between this timeoutMS and the argument timeoutMS
       */
Order TimeoutInfo based on the timestamp at which the task needs to
be completed by.
@param o a TimeoutInfo
@return the diff between this timeoutMS and the argument timeoutMS
Order TimeoutInfo based on the timestamp at which the task needs to be completed by . @param o a TimeoutInfo @return the diff between this timeoutMS and the argument timeoutMS
public int compareTo(Object o)
      {
         TimeoutInfo ti = (TimeoutInfo) o;
         long to0 = timeoutMS;
         long to1 = ti.timeoutMS;
         return (int) (to0 - to1);
      }
public int compareTo ( Object o ) { TimeoutInfo ti = ( TimeoutInfo ) o ; long to0 = timeoutMS ; long to1 = ti . timeoutMS ; return ( int ) ( to0 - to1 ) ; }
Order TimeoutInfo based on the timestamp at which the task needs to
 be completed by.
Order TimeoutInfo based on the timestamp at which the task needs to be completed by .