ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/TimeUnit.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/TimeUnit.java (file contents):
Revision 1.3 by dholmes, Mon Jun 9 23:42:27 2003 UTC vs.
Revision 1.4 by dl, Tue Jun 24 14:34:49 2003 UTC

# Line 43 | Line 43 | package java.util.concurrent;
43   * @spec JSR-166
44   * @revised $Date$
45   * @editor $Author$
46 < *
46 > * @author Doug Lea
47   */
48   public final class TimeUnit implements java.io.Serializable {
49  
# Line 152 | Line 152 | public final class TimeUnit implements j
152       * Perform a <tt>Thread.sleep</tt> using the current time unit.
153       * This is a convenience method that converts time arguments into the
154       * form required by the <tt>Thread.sleep</tt> method.
155 <     * @param time the minimum time to sleep
155 >     * @param timeout the minimum time to sleep
156       * @throws InterruptedException if interrupted while sleeping.
157       * @see Thread#sleep
158       */
# Line 168 | Line 168 | public final class TimeUnit implements j
168      private static final int MS = 2;
169      private static final int S  = 3;
170  
171 <    /* quick lookup table for conversion factors */
171 >    /** quick lookup table for conversion factors */
172      static final int[] multipliers = { 1, 1000, 1000*1000, 1000*1000*1000 };
173  
174 <    /* the index of this unit */
174 >    /** the index of this unit */
175      int index;
176  
177      /** private constructor */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines