[cvs] / jsr166 / src / main / java / util / Queue.java Repository:
ViewVC logotype

Diff of /jsr166/src/main/java/util/Queue.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.25, Fri Apr 29 02:00:39 2005 UTC revision 1.26, Mon May 2 04:19:58 2005 UTC
# Line 137  Line 137 
137    
138      /**      /**
139       * Retrieves and removes the head of this queue.  This method       * Retrieves and removes the head of this queue.  This method
140       * differs from the <tt>poll</tt> method in that it throws an       * differs from the {@link #poll} method only in that it throws an
141       * exception if this queue is empty.       * exception if this queue is empty.
142       *       *
143       * @return the head of this queue.       * @return the head of this queue.
# Line 156  Line 156 
156    
157      /**      /**
158       * Retrieves, but does not remove, the head of this queue.  This method       * Retrieves, but does not remove, the head of this queue.  This method
159       * differs from the <tt>peek</tt> method only in that it throws an       * differs from the {@link #peek} method only in that it throws an
160       * exception if this queue is empty.       * exception if this queue is empty.
161       *       *
162       * @return the head of this queue.       * @return the head of this queue.

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8