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

Comparing jsr166/src/main/java/util/Collections.java (file contents):
Revision 1.14 by jsr166, Wed Aug 24 04:55:09 2005 UTC vs.
Revision 1.18 by jsr166, Mon Dec 5 02:56:59 2005 UTC

# Line 1 | Line 1
1   /*
2   * %W% %E%
3   *
4 < * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
4 > * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5   * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6   */
7  
# Line 3537 | Line 3537 | public class Collections {
3537       * to this method, and no reference to the map is retained, as illustrated
3538       * in the following code fragment:
3539       * <pre>
3540 <     *    Set&lt;Object&gt; weakHashSet = Collections.asSet(
3540 >     *    Set&lt;Object&gt; weakHashSet = Collections.newSetFromMap(
3541       *        new WeakHashMap&lt;Object, Boolean&gt;());
3542       * </pre>
3543       *
# Line 3600 | Line 3600 | public class Collections {
3600       * <tt>remove</tt> is mapped to <tt>pop</tt> and so on. This
3601       * view can be useful when you would like to use a method
3602       * requiring a <tt>Queue</tt> but you need Lifo ordering.
3603 +     *
3604       * @param deque the deque
3605       * @return the queue
3606       * @since  1.6

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines