Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 914 for iterate (0.05 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java

      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      public void testKeysEntrySetIteratorRemove() {
        Multiset<K> keys = multimap().keys();
        Iterator<Multiset.Entry<K>> itr = keys.entrySet().iterator();
        assertEquals(Multisets.immutableEntry(k0(), 1), itr.next());
        itr.remove();
        assertTrue(multimap().isEmpty());
      }
    
      @CollectionSize.Require(SEVERAL)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/graphql.md

    # GraphQL
    
    As **FastAPI** is based on the **ASGI** standard, it's very easy to integrate any **GraphQL** library also compatible with ASGI.
    
    You can combine normal FastAPI *path operations* with GraphQL on the same application.
    
    /// tip
    
    **GraphQL** solves some very specific use cases.
    
    It has **advantages** and **disadvantages** when compared to common **web APIs**.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:39:38 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

            tempFile.deleteOnExit();
            markForDeletion(tempFile);
    
            return tempFile;
        }
    
        public void cleanUp() throws IOException {
            for (Iterator it = filesToDelete.iterator(); it.hasNext(); ) {
                File file = (File) it.next();
    
                if (file.exists()) {
                    if (file.isDirectory()) {
                        FileUtils.deleteDirectory(file);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/AbstractBaseGraph.java

              @Override
              public UnmodifiableIterator<EndpointPair<N>> iterator() {
                if (graph.isDirected()) {
                  return Iterators.unmodifiableIterator(
                      Iterators.concat(
                          Iterators.transform(
                              graph.predecessors(node).iterator(),
                              (N predecessor) -> EndpointPair.ordered(predecessor, node)),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t08/ProjectInheritanceTest.java

            Set set = project1.getArtifacts();
            assertNotNull(set, "No artifacts");
            assertTrue(set.size() > 0, "No Artifacts");
            Iterator iter = set.iterator();
            assertTrue(set.size() == 4, "Set size should be 4, is " + set.size());
    
            while (iter.hasNext()) {
                Artifact artifact = (Artifact) iter.next();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/PeekingIterator.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.DoNotMock;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An iterator that supports a one-element lookahead while iterating.
     *
     * <p>See the Guava User Guide article on <a href=
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultimapValuesTester.java

        assertEqualInOrder(expected, multimap().values());
      }
    
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      @CollectionSize.Require(ONE)
      public void testValuesIteratorRemove() {
        Iterator<V> valuesItr = multimap().values().iterator();
        valuesItr.next();
        valuesItr.remove();
        assertTrue(multimap().isEmpty());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

            } catch (NullPointerException | ClassCastException e) {
              return false;
            }
          }
    
          @Override
          public Iterator<Entry<K, V>> iterator() {
            return delegate().iterator();
          }
    
          @Override
          public int size() {
            return delegate().size();
          }
    
          @Override
          public boolean remove(Object o) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingSet.java

      }
    
      @Override
      public int hashCode() {
        return delegate().hashCode();
      }
    
      /**
       * A sensible definition of {@link #removeAll} in terms of {@link #iterator} and {@link #remove}.
       * If you override {@code iterator} or {@code remove}, you may wish to override {@link #removeAll}
       * to forward to this implementation.
       *
       * @since 7.0 (this version overrides the {@code ForwardingCollection} version as of 12.0)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

      public void testAddAllConcurrentWithIteration() {
        assertThrows(
            ConcurrentModificationException.class,
            () -> {
              Iterator<E> iterator = collection.iterator();
              assertTrue(collection.addAll(MinimalCollection.of(e3(), e0())));
              iterator.next();
            });
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top