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

Comparing jsr166/src/jsr166x/ConcurrentSkipListSet.java (file contents):
Revision 1.9 by jsr166, Wed Sep 1 20:12:39 2010 UTC vs.
Revision 1.11 by jsr166, Mon Nov 29 20:58:06 2010 UTC

# Line 487 | Line 487 | public class ConcurrentSkipListSet<E>
487           * @param fromElement inclusive least value, or <tt>null</tt> if from start
488           * @param toElement exclusive upper bound or <tt>null</tt> if to end
489           * @throws IllegalArgumentException if fromElement and toElement
490 <         * nonnull and fromElement greater than toElement
490 >         * non-null and fromElement greater than toElement
491           */
492          ConcurrentSkipListSubSet(ConcurrentSkipListMap<E,Object> map,
493                                   E fromElement, E toElement) {
# Line 541 | Line 541 | public class ConcurrentSkipListSet<E>
541          }
542          public E pollFirst() {
543              Map.Entry<E,?> e = s.pollFirstEntry();
544 <            return (e == null)? null : e.getKey();
544 >            return (e == null) ? null : e.getKey();
545          }
546          public E pollLast() {
547              Map.Entry<E,?> e = s.pollLastEntry();
548 <            return (e == null)? null : e.getKey();
548 >            return (e == null) ? null : e.getKey();
549          }
550  
551      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines