[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.26, Mon May 2 04:19:58 2005 UTC revision 1.27, Mon May 2 08:35:49 2005 UTC
# Line 120  Line 120 
120       * preferable to method {@link Collection#add}, which can fail to       * preferable to method {@link Collection#add}, which can fail to
121       * insert an element only by throwing an exception.       * insert an element only by throwing an exception.
122       *       *
123       * @param o the element to insert.       * @param e the element to insert.
124       * @return <tt>true</tt> if it was possible to add the element to       * @return <tt>true</tt> if it was possible to add the element to
125       * this queue, else <tt>false</tt>       * this queue, else <tt>false</tt>
126       */       */
127      boolean offer(E o);      boolean offer(E e);
128    
129      /**      /**
130       * Retrieves and removes the head of this queue, or <tt>null</tt>       * Retrieves and removes the head of this queue, or <tt>null</tt>

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

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8