Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 616 for it (0.17 sec)

  1. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        Iterator<Integer> it = mmHeap.iterator();
        assertEquals((Integer) 1, it.next());
        assertEquals((Integer) 20, it.next());
        assertEquals((Integer) 100, it.next());
        assertEquals((Integer) 2, it.next());
        it.remove();
        assertFalse(mmHeap.contains(2));
        assertTrue(it.hasNext());
        assertEquals((Integer) 3, it.next());
        assertTrue(it.hasNext());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Joiner.java

         * it returns a subclass of Joiner that overrides this method to tolerate null inputs.
         *
         * Unfortunately, we don't distinguish between these two cases in our public API: Joiner.on(...)
         * and Joiner.on(...).useForNull(...) both declare the same return type: plain Joiner. To ensure
         * that users *can* pass null arguments to Joiner, we annotate it as if it always tolerates null
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/InvalidatableSet.java

      // Override hashCode() to access delegate directly (so that it doesn't trigger the validate() call
      // via delegate()); it seems inappropriate to throw ISE on this method.
      @Override
      public int hashCode() {
        return delegate.hashCode();
      }
    
      private void validate() {
        // Don't use checkState(), because we don't want the overhead of generating the error message
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

      /*
       * If I understand correctly:
       *
       * This needs to be a @JsMethod so that J2CL knows to look for a JavaScript implemention of
       * it in Platform.native.js. (The JavaScript implementation inline below is visible to *GWT*, but
       * *J2CL* doesn't look at it.)
       *
       * However, once it's a @JsMethod, GWT produces a warning. That's because (a) the *other* purpose
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 29 18:16:45 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

        // Exists to test that our framework doesn't run it:
        @SuppressWarnings("unused")
        @ExampleDerivedFeature.Require({
          ExampleDerivedFeature.DERIVED_FEATURE_1,
          ExampleDerivedFeature.DERIVED_FEATURE_2
        })
        public void testRequiringTwoExplicitDerivedFeatures() throws Exception {
          doNotActuallyRunThis();
        }
    
        // Exists to test that our framework doesn't run it:
        @SuppressWarnings("unused")
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

     * using a lock, however it is dangerous to dispatch listeners while holding a lock because they
     * might run on the {@code directExecutor()} or be otherwise re-entrant (call back into your
     * object). So it is important to not call {@link #dispatch} while holding any locks. This is why
     * {@link #enqueue} and {@link #dispatch} are 2 different methods. It is expected that the decision
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  7. guava-gwt/pom.xml

          <plugin>
            <artifactId>maven-source-plugin</artifactId>
            <configuration>
              <excludes>
                <!-- 3. Don't include it in the source jar (since it's really more of a "test" than it is production code). -->
                <exclude>**/ForceGuavaCompilation*</exclude>
                <exclude>**/DummyJavadocClass*</exclude>
              </excludes>
            </configuration>
          </plugin>
          <plugin>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 15:00:55 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/FluentIterable.java

     * differences include:
     *
     * <ul>
     *   <li>A stream is <i>single-use</i>; it becomes invalid as soon as any "terminal operation" such
     *       as {@code findFirst()} or {@code iterator()} is invoked. (Even though {@code Stream}
     *       contains all the right method <i>signatures</i> to implement {@link Iterable}, it does not
     *       actually do so, to avoid implying repeat-iterability.) {@code FluentIterable}, on the other
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

       * with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6409434">Sun bug 6409434</a> is fixed.
       * It's unclear whether nulls were to be permitted or forbidden, but presumably the eventual fix
       * will be to permit them, as it seems more likely that code would depend on that behavior than on
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Suppliers.java

       * on the deserialized instance.
       *
       * <p>When the underlying delegate throws an exception then this memoizing supplier will keep
       * delegating calls until it returns valid data.
       *
       * <p>If {@code delegate} is an instance created by an earlier call to {@code memoize}, it is
       * returned directly.
       */
      public static <T extends @Nullable Object> Supplier<T> memoize(Supplier<T> delegate) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
Back to top