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

Comparing jsr166/src/jsr166e/ConcurrentHashMapV8.java (file contents):
Revision 1.45 by jsr166, Thu Jul 5 06:26:14 2012 UTC vs.
Revision 1.48 by jsr166, Fri Jul 6 21:39:18 2012 UTC

# Line 195 | Line 195 | public class ConcurrentHashMapV8<K, V>
195           * already commenced traversing elements
196           */
197          Spliterator<T> split();
198
199        /**
200         * Returns a Spliterator producing the same elements as this
201         * Spliterator. This method may be used for example to create
202         * a second Spliterator before a traversal, in order to later
203         * perform a second traversal.
204         *
205         * @return a Spliterator covering the same range as this Spliterator.
206         * @throws IllegalStateException if this Spliterator has
207         * already commenced traversing elements
208         */
209        Spliterator<T> clone();
198      }
199  
200      /*
# Line 2199 | Line 2187 | public class ConcurrentHashMapV8<K, V>
2187              baseLimit = baseSize = (tab == null) ? 0 : tab.length;
2188          }
2189  
2190 <        /** Creates iterator for clone() and split() methods */
2190 >        /** Creates iterator for clone() and split() methods. */
2191          InternalIterator(InternalIterator<K,V> it, boolean split) {
2192              this.map = it.map;
2193              this.tab = it.tab;
# Line 2211 | Line 2199 | public class ConcurrentHashMapV8<K, V>
2199          }
2200  
2201          /**
2202 <         * Advances next; returns nextVal or null if terminated
2202 >         * Advances next; returns nextVal or null if terminated.
2203           * See above for explanation.
2204           */
2205          final Object advance() {
# Line 2261 | Line 2249 | public class ConcurrentHashMapV8<K, V>
2249      /* ---------------- Public operations -------------- */
2250  
2251      /**
2252 <     * Creates a new, empty map with the default initial table size (16),
2252 >     * Creates a new, empty map with the default initial table size (16).
2253       */
2254      public ConcurrentHashMapV8() {
2255          this.counter = new LongAdder();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines