Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 139 for Every (0.12 sec)

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

     * be clearly documented.
     *
     * <p>Note that although your APIs should be liberal in what they accept, your methods which
     * <i>return</i> iterables should make every attempt to return ones of the robust variety.
     *
     * <p>This testing utility is not thread-safe.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterables.java

          return Collections2.safeContains(collection, element);
        }
        return Iterators.contains(iterable.iterator(), element);
      }
    
      /**
       * Removes, from an iterable, every element that belongs to the provided collection.
       *
       * <p>This method calls {@link Collection#removeAll} if {@code iterable} is a collection, and
       * {@link Iterators#removeAll} otherwise.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/NullPointerTester.java

            testConstructor(constructor);
          }
        }
      }
    
      /** Runs {@link #testConstructor} on every public constructor in class {@code c}. */
      public void testAllPublicConstructors(Class<?> c) {
        testConstructors(c, Visibility.PUBLIC);
      }
    
      /**
       * Runs {@link #testMethod} on every static method of class {@code c} that has at least {@code
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 23.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

          public void perform(List<Integer> list) {}
        };
      }
    
      /** A list that mutates itself after every call to each of its {@link List} methods. */
      interface ConcurrentlyMutatedList<E> extends List<E> {
        /**
         * The elements of a {@link ConcurrentlyMutatedList} are added and removed over time. This
         * method returns every state that the list has passed through at some point.
         */
        Set<List<E>> getAllStates();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Throwables.java

          }
          if (advanceSlowPointer) {
            slowPointer = slowPointer.getCause();
          }
          advanceSlowPointer = !advanceSlowPointer; // only advance every other iteration
        }
        return throwable;
      }
    
      /**
       * Gets a {@code Throwable} cause chain as a list. The first entry in the list will be {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Throwables.java

          }
          if (advanceSlowPointer) {
            slowPointer = slowPointer.getCause();
          }
          advanceSlowPointer = !advanceSlowPointer; // only advance every other iteration
        }
        return throwable;
      }
    
      /**
       * Gets a {@code Throwable} cause chain as a list. The first entry in the list will be {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

      @SuppressWarnings("unchecked")
      protected B self() {
        return (B) this;
      }
    
      // Test Data
    
      private @Nullable G subjectGenerator;
      // Gets run before every test.
      private Runnable setUp;
      // Gets run at the conclusion of every test.
      private Runnable tearDown;
    
      @CanIgnoreReturnValue
      protected B usingGenerator(G subjectGenerator) {
        this.subjectGenerator = subjectGenerator;
        return self();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

    /**
     * A support class for {@code ListenableFuture} implementations to manage their listeners. An
     * instance contains a list of listeners, each with an associated {@code Executor}, and guarantees
     * that every {@code Runnable} that is {@linkplain #add added} will be executed after {@link
     * #execute()} is called. Any {@code Runnable} added after the call to {@code execute} is still
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        }
    
        // Test #entries()
        assertCollectionIsUnmodifiable(multimap.entries(), Maps.immutableEntry(sampleKey, sampleValue));
        assertMultimapRemainsUnmodified(multimap, originalEntries);
    
        // Iterate over every element in the entry set
        for (Entry<K, V> entry : multimap.entries()) {
          assertMapEntryIsUnmodifiable(entry);
        }
        assertMultimapRemainsUnmodified(multimap, originalEntries);
    
        // Test #keys()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/Traverser.java

       *
       * <p>The behavior of this method is undefined if the nodes, or the topology of the graph, change
       * while iteration is in progress.
       *
       * <p>The returned {@code Iterable} can be iterated over multiple times. Every iterator will
       * compute its next element on the fly. It is thus possible to limit the traversal to a certain
       * number of nodes as follows:
       *
       * <pre>{@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
Back to top