Lines Matching refs:iterator
66 * <p>The iterators returned by the {@code iterator} method of the collections
69 * the iterator is created, in any way except through the iterator's own
70 * {@code remove} method, the iterator will throw a {@link
72 * modification, the iterator fails quickly and cleanly, rather than risking
75 * <p>Note that the fail-fast behavior of an iterator cannot be guaranteed
195 buildFromSorted(m.size(), m.entrySet().iterator(), null, null);
314 buildFromSorted(mapSize, map.entrySet().iterator(),
638 clone.buildFromSorted(size, entrySet().iterator(), null, null);
785 * The set's iterator returns the keys in ascending order.
789 * the iterator's own {@code remove} operation), the results of
818 * The collection's iterator returns the values in ascending order
823 * (except through the iterator's own {@code remove} operation),
838 * The set's iterator returns the entries in ascending key order.
842 * the iterator's own {@code remove} operation, or through the
844 * iterator) the results of the iteration are undefined. The set
946 public Iterator<V> iterator() {
974 public Iterator<Map.Entry<K,V>> iterator() {
1029 public Iterator<E> iterator() {
1385 /** Returns ascending iterator from the perspective of this submap */
1388 /** Returns descending iterator from the perspective of this submap */
1525 Iterator i = iterator();
1751 public Iterator<Map.Entry<K,V>> iterator() {
1832 public Iterator<Map.Entry<K,V>> iterator() {
2271 for (Iterator<Map.Entry<K,V>> i = entrySet().iterator(); i.hasNext(); ) {
2302 buildFromSorted(set.size(), set.iterator(), null, defaultVal);
2311 * and/or values from iterator or stream. This leads to too many
2315 * 1) An iterator of Map.Entries. (it != null, defaultVal == null).
2316 * 2) An iterator of keys. (it != null, defaultVal != null).
2325 * the iterator or stream
2327 * or keys read from this iterator.
2333 * iterator or stream, as described above.
2375 * indices to pull out of the iterator or stream for current subtree.
2389 // extract key and/or value from iterator or stream