Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for toNanos (0.05 seconds)

  1. guava/src/com/google/common/base/Suppliers.java

          Supplier<T> delegate, long duration, TimeUnit unit) {
        checkNotNull(delegate);
        checkArgument(duration > 0, "duration (%s %s) must be > 0", duration, unit);
        return new ExpiringMemoizingSupplier<>(delegate, unit.toNanos(duration));
      }
    
      /**
       * Returns a supplier that caches the instance supplied by the delegate and removes the cached
       * value after the specified time has passed. Subsequent calls to {@code get()} return the cached
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 21:24:28 GMT 2026
    - 16.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/base/Suppliers.java

          Supplier<T> delegate, long duration, TimeUnit unit) {
        checkNotNull(delegate);
        checkArgument(duration > 0, "duration (%s %s) must be > 0", duration, unit);
        return new ExpiringMemoizingSupplier<>(delegate, unit.toNanos(duration));
      }
    
      /**
       * Returns a supplier that caches the instance supplied by the delegate and removes the cached
       * value after the specified time has passed. Subsequent calls to {@code get()} return the cached
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 21:24:28 GMT 2026
    - 16.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

       * nanos to match CacheBuilder implementation.
       */
      private static @Nullable Long durationInNanos(long duration, @Nullable TimeUnit unit) {
        return (unit == null) ? null : unit.toNanos(duration);
      }
    
      /** Base class for parsing integers. */
      private abstract static class IntegerParser implements ValueParser {
        abstract void parseInteger(CacheBuilderSpec spec, int value);
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  4. guava/src/com/google/common/cache/CacheBuilderSpec.java

       * nanos to match CacheBuilder implementation.
       */
      private static @Nullable Long durationInNanos(long duration, @Nullable TimeUnit unit) {
        return (unit == null) ? null : unit.toNanos(duration);
      }
    
      /** Base class for parsing integers. */
      private abstract static class IntegerParser implements ValueParser {
        abstract void parseInteger(CacheBuilderSpec spec, int value);
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
Back to Top