Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,324 for iteration (0.09 sec)

  1. android/guava/src/com/google/common/collect/Iterables.java

          @Override
          public Iterator<T> iterator() {
            if (iterable instanceof List) {
              final List<T> list = (List<T>) iterable;
              int toSkip = Math.min(list.size(), numberToSkip);
              return list.subList(toSkip, list.size()).iterator();
            }
            final Iterator<T> iterator = iterable.iterator();
    
            Iterators.advance(iterator, numberToSkip);
    
            /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  2. doc/go_spec.html

    a single byte in the string.
    </li>
    
    <li>
    The iteration order over maps is not specified
    and is not guaranteed to be the same from one iteration to the next.
    If a map entry that has not yet been reached is removed during iteration,
    the corresponding iteration value will not be produced. If a map entry is
    created during iteration, that entry may be produced during the iteration or
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/StandardRowSortedTable.java

    import java.util.Set;
    import java.util.SortedMap;
    import java.util.SortedSet;
    import javax.annotation.CheckForNull;
    
    /**
     * Implementation of {@code Table} whose iteration ordering across row keys is sorted by their
     * natural ordering or by a supplied comparator. Note that iterations across the columns keys for a
     * single row key may or may not be ordered, depending on the implementation. When rows and columns
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 15 15:41:16 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableCollection.java

     *       is modified.
     *   <li><b>Null-hostility.</b> This collection will never contain a null element.
     *   <li><b>Deterministic iteration.</b> The iteration order is always well-defined, depending on
     *       how the collection was created. Typically this is insertion order unless an explicit
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 16:59:15 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

          @Override
          protected Iterator<E> newTargetIterator() {
            resetCollection();
            return collection.iterator();
          }
    
          @Override
          protected void verify(List<E> elements) {
            expectContents(elements);
          }
        }.test();
      }
    
      public void testIteratorNoSuchElementException() {
        Iterator<E> iterator = collection.iterator();
        while (iterator.hasNext()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

       * the map are reflected in the multimap, and vice versa. If the map is modified while an
       * iteration over one of the multimap's collection views is in progress (except through the
       * iterator's own {@code remove} operation, or through the {@code setValue} operation on a map
       * entry returned by the iterator), the results of the iteration are undefined.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Maps.java

          return map;
        }
    
        @Override
        public Iterator<K> iterator() {
          return keyIterator(map().entrySet().iterator());
        }
    
        @Override
        public void forEach(Consumer<? super K> action) {
          checkNotNull(action);
          // avoids entry allocation for those maps that allocate entries on iteration
          map.forEach((k, v) -> action.accept(k));
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/HashBiMap.java

      public Set<K> keySet() {
        return new KeySet();
      }
    
      private final class KeySet extends Maps.KeySet<K, V> {
        KeySet() {
          super(HashBiMap.this);
        }
    
        @Override
        public Iterator<K> iterator() {
          return new Itr<K>() {
            @Override
            @ParametricNullness
            K output(BiEntry<K, V> entry) {
              return entry.key;
            }
          };
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Lists.java

            : newArrayList(elements.iterator());
      }
    
      /**
       * Creates a <i>mutable</i> {@code ArrayList} instance containing the given elements; a very thin
       * shortcut for creating an empty list and then calling {@link Iterators#addAll}.
       *
       * <p><b>Note:</b> if mutability is not required and the elements are non-null, use {@link
       * ImmutableList#copyOf(Iterator)} instead.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

        testers.add(ListSubListTester.class);
        testers.add(ListToArrayTester.class);
        return testers;
      }
    
      /**
       * Specifies {@link CollectionFeature#KNOWN_ORDER} for all list tests, since lists have an
       * iteration ordering corresponding to the insertion order.
       */
      @Override
      public TestSuite createTestSuite() {
        withFeatures(KNOWN_ORDER);
        return super.createTestSuite();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top