public final Map.Entry<K, V> next() { final Node<K, V> p; if ((p = next) == null) throw new NoSuchElementException(); final K k = p.key; final V v = p.val; lastReturned = p; advance(); return new MapEntry<K, V>(k, v, map); } }
/** * @return an iterator over the entries of the backing map */ public Iterator<Map.Entry<K, V>> iterator() { final ConcurrentHashMapV8<K, V> m = map; final Node<K, V>[] t; final int f = (t = m.table) == null ? 0 : t.length; return new EntryIterator<K, V>(t, f, 0, f, m); }
/** * @return an iterator over the entries of the backing map */ public Iterator<Map.Entry<K, V>> iterator() { final ConcurrentHashMapV8<K, V> m = map; final Node<K, V>[] t; final int f = (t = m.table) == null ? 0 : t.length; return new EntryIterator<K, V>(t, f, 0, f, m); }
public final Map.Entry<K, V> next() { final Node<K, V> p; if ((p = next) == null) throw new NoSuchElementException(); final K k = p.key; final V v = p.val; lastReturned = p; advance(); return new MapEntry<K, V>(k, v, map); } }
public final Map.Entry<K, V> next() { final Node<K, V> p; if ((p = next) == null) throw new NoSuchElementException(); final K k = p.key; final V v = p.val; lastReturned = p; advance(); return new MapEntry<K, V>(k, v, map); } }
public final Map.Entry<K, V> next() { final Node<K, V> p; if ((p = next) == null) throw new NoSuchElementException(); final K k = p.key; final V v = p.val; lastReturned = p; advance(); return new MapEntry<K, V>(k, v, map); } }
public final Map.Entry<K, V> next() { final Node<K, V> p; if ((p = next) == null) throw new NoSuchElementException(); final K k = p.key; final V v = p.val; lastReturned = p; advance(); return new MapEntry<K, V>(k, v, map); } }
/** * @return an iterator over the entries of the backing map */ public Iterator<Map.Entry<K, V>> iterator() { final ConcurrentHashMapV8<K, V> m = map; final Node<K, V>[] t; final int f = (t = m.table) == null ? 0 : t.length; return new EntryIterator<K, V>(t, f, 0, f, m); }
/** * @return an iterator over the entries of the backing map */ public Iterator<Map.Entry<K, V>> iterator() { final ConcurrentHashMapV8<K, V> m = map; final Node<K, V>[] t; final int f = (t = m.table) == null ? 0 : t.length; return new EntryIterator<K, V>(t, f, 0, f, m); }
public final Map.Entry<K, V> next() { final Node<K, V> p; if ((p = next) == null) throw new NoSuchElementException(); final K k = p.key; final V v = p.val; lastReturned = p; advance(); return new MapEntry<K, V>(k, v, map); } }
/** * @return an iterator over the entries of the backing map */ public Iterator<Map.Entry<K, V>> iterator() { final ConcurrentHashMapV8<K, V> m = map; final Node<K, V>[] t; final int f = (t = m.table) == null ? 0 : t.length; return new EntryIterator<K, V>(t, f, 0, f, m); }
/** * @return an iterator over the entries of the backing map */ public Iterator<Map.Entry<K, V>> iterator() { final ConcurrentHashMapV8<K, V> m = map; final Node<K, V>[] t; final int f = (t = m.table) == null ? 0 : t.length; return new EntryIterator<K, V>(t, f, 0, f, m); }
/** * @return an iterator over the entries of the backing map */ public Iterator<Map.Entry<K, V>> iterator() { final ConcurrentHashMapV8<K, V> m = map; final Node<K, V>[] t; final int f = (t = m.table) == null ? 0 : t.length; return new EntryIterator<K, V>(t, f, 0, f, m); }
public final Map.Entry<K, V> next() { final Node<K, V> p; if ((p = next) == null) throw new NoSuchElementException(); final K k = p.key; final V v = p.val; lastReturned = p; advance(); return new MapEntry<K, V>(k, v, map); } }