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.27 by dl, Tue Mar 8 12:27:11 2005 UTC vs.
Revision 1.28 by dl, Wed Mar 9 12:47:08 2005 UTC

# Line 263 | Line 263 | public enum TimeUnit {
263       *  }</pre>
264       *
265       * @param obj the object to wait on
266 <     * @param timeout the maximum time to wait.
266 >     * @param timeout the maximum time to wait. If less than
267 >     * or equal to zero, do not wait at all.
268       * @throws InterruptedException if interrupted while waiting.
269       * @see Object#wait(long, int)
270       */
# Line 281 | Line 282 | public enum TimeUnit {
282       * This is a convenience method that converts time arguments into the
283       * form required by the <tt>Thread.join</tt> method.
284       * @param thread the thread to wait for
285 <     * @param timeout the maximum time to wait
285 >     * @param timeout the maximum time to wait. If less than
286 >     * or equal to zero, do not wait at all.
287       * @throws InterruptedException if interrupted while waiting.
288       * @see Thread#join(long, int)
289       */
# Line 298 | Line 300 | public enum TimeUnit {
300       * Perform a <tt>Thread.sleep</tt> using this unit.
301       * This is a convenience method that converts time arguments into the
302       * form required by the <tt>Thread.sleep</tt> method.
303 <     * @param timeout the minimum time to sleep
303 >     * @param timeout the minimum time to sleep. If less than
304 >     * or equal to zero, do not sleep at all.
305       * @throws InterruptedException if interrupted while sleeping.
306       * @see Thread#sleep
307       */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines