Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 393 for note (0.12 sec)

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

       * {@code SerializableTester} calls with other, GWT-compatible tests.
       *
       * <p>Note that the specified object may not be known by the compiler to be a {@link
       * java.io.Serializable} instance, and is thus declared an {@code Object}. For example, it might
       * be declared as a {@code List}.
       *
       * <p>Note also that serialization is not in general required to return an object that is
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/ElementTypesAreNonnullByDefault.java

    import java.lang.annotation.Target;
    import javax.annotation.Nonnull;
    import javax.annotation.meta.TypeQualifierDefault;
    
    /**
     * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this
     * unfortunately includes type-variable usages, so we also provide {@link ParametricNullness} to
     * "undo" it as best we can.
     */
    @GwtCompatible
    @Retention(RUNTIME)
    @Target(TYPE)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertTrue("Should acquire initial permit", rateLimiter.tryAcquire());
        assertFalse("Should not acquire additional permit", rateLimiter.tryAcquire());
        stopwatch.sleepMillis(5000);
        assertFalse(
            "Should not acquire additional permit even after sleeping", rateLimiter.tryAcquire());
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

         * actually reading from the fields in any case in which they might be null (as proven by the
         * requireNonNull checks below). Plus, we're *already* lying here, since newHeader passes a null
         * key and value, which we pass to the superconstructor, even though the key and value type for
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/HostAndPort.java

     *   <li>[2001:db8::1] - {@link #getHost()} omits brackets
     *   <li>[2001:db8::1]:80 - {@link #getHost()} omits brackets
     *   <li>2001:db8::1 - Use {@link #requireBracketsForIPv6()} to prohibit this
     * </ul>
     *
     * <p>Note that this is not an exhaustive list, because these methods are only concerned with
     * brackets, colons, and port numbers. Full validation of the host field (if desired) is the
     * caller's responsibility.
     *
     * @author Paul Marks
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 22 20:55:57 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/eventbus/EventBusTest.java

              "One of the registered catchers did not receive an event.",
              expectedEvents,
              catcher.getEvents());
        }
      }
    
      public void testToString() throws Exception {
        EventBus eventBus = new EventBus("a b ; - \" < > / \\ €");
        assertEquals("EventBus{a b ; - \" < > / \\ €}", eventBus.toString());
      }
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

              "One of the registered catchers did not receive an event.",
              expectedEvents,
              catcher.getEvents());
        }
      }
    
      public void testToString() throws Exception {
        EventBus eventBus = new EventBus("a b ; - \" < > / \\ €");
        assertEquals("EventBus{a b ; - \" < > / \\ €}", eventBus.toString());
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Ticker.java

    /**
     * A time source; returns a time value representing the number of nanoseconds elapsed since some
     * fixed but arbitrary point in time. Note that most users should use {@link Stopwatch} instead of
     * interacting with this class directly.
     *
     * <p><b>Warning:</b> this interface can only be used to measure elapsed time, not wall time.
     *
     * @author Kevin Bourrillion
     * @since 10.0 (<a href="https://github.com/google/guava/wiki/Compatibility">mostly
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue May 23 23:27:53 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java

       * {@inheritDoc}
       *
       * <p>By default, returns the supplied elements in their given order; however, generators for
       * containers with a known order other than insertion order must override this method.
       *
       * <p>Note: This default implementation is overkill (but valid) for an unordered container. An
       * equally valid implementation for an unordered container is to throw an exception. The chosen
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Floats.java

       * other utilities in this package.
       *
       * <p><b>Note:</b> this method simply delegates to the JDK method {@link Float#compare}. It is
       * provided for consistency with the other primitive types, whose compare methods were not added
       * to the JDK until JDK 7.
       *
       * @param a the first {@code float} to compare
       * @param b the second {@code float} to compare
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
Back to top