Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 235 for subclass (0.13 sec)

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

            return identity == that.identity;
          }
          return false;
        }
    
        @Override
        public String toString() {
          return paramString(interfaceType, identity);
        }
      }
    
      /** Subclasses can override to provide different return value for proxied interface methods. */
      @CheckForNull
      Object interfaceMethodCalled(Class<?> interfaceType, Method method) {
        throw new UnsupportedOperationException();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

        Preconditions.checkArgument(hitRate >= 0 && hitRate <= 1, "hitRate must be in the range [0,1]");
    
        enumType =
            Class.forName(EnumsBenchmark.class.getCanonicalName() + "$" + enumSize + "Enum")
                .asSubclass(Enum.class);
    
        Enum<?>[] allConstants = enumType.getEnumConstants();
        List<String> hits = new ArrayList<>();
        for (int i = 0; i < hitRate * 256 / 3; ++i) {
          hits.add(allConstants[0].name());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/RateLimiter.java

      @Override
      public String toString() {
        return String.format(Locale.ROOT, "RateLimiter[stableRate=%3.1fqps]", getRate());
      }
    
      abstract static class SleepingStopwatch {
        /** Constructor for use by subclasses. */
        protected SleepingStopwatch() {}
    
        /*
         * We always hold the mutex when calling this. TODO(cpovirk): Is that important? Perhaps we need
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/FluentIterable.java

      // Optional.of(this). To access the delegate iterable, call #getDelegate(), which converts to
      // absent() back to 'this'.
      private final Optional<Iterable<E>> iterableDelegate;
    
      /** Constructor for use by subclasses. */
      protected FluentIterable() {
        this.iterableDelegate = Optional.absent();
      }
    
      FluentIterable(Iterable<E> iterable) {
        this.iterableDelegate = Optional.of(iterable);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  5. CHANGELOG.md

    The new APIs use `mockwebserver3` in both the Maven coordinate and package name. This new API is
    **not stable** and will likely change before the final 5.0.0 release.
    
    If you have code that subclasses `okhttp3.mockwebserver.QueueDispatcher`, this update is not source
    or binary compatible. Migrating to the new `mockwebserver3` package will fix this problem.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:31:39 UTC 2024
    - 21.4K bytes
    - Viewed (1)
  6. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

            return identity == that.identity;
          }
          return false;
        }
    
        @Override
        public String toString() {
          return paramString(interfaceType, identity);
        }
      }
    
      /** Subclasses can override to provide different return value for proxied interface methods. */
      @CheckForNull
      Object interfaceMethodCalled(Class<?> interfaceType, Method method) {
        throw new UnsupportedOperationException();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/net/InternetDomainName.java

       * value.
       */
      @SuppressWarnings("Immutable")
      @LazyInit
      private int registrySuffixIndexCache = SUFFIX_NOT_INITIALIZED;
    
      /** Constructor used to implement {@link #from(String)}, and from subclasses. */
      InternetDomainName(String name) {
        // Normalize:
        // * ASCII characters to lowercase
        // * All dot-like characters to '.'
        // * Strip trailing '.'
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/CharMatcher.java

        return predicate instanceof CharMatcher ? (CharMatcher) predicate : new ForPredicate(predicate);
      }
    
      // Constructors
    
      /**
       * Constructor for use by subclasses. When subclassing, you may want to override {@code
       * toString()} to provide a useful description.
       */
      protected CharMatcher() {}
    
      // Abstract methods
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  9. CREDITS

    Works shall not include works that contain only declarations,
    interfaces, types, classes, structures, or files of the Program solely
    in each case in order to link to, bind by name, or subclass the Program
    or Modified Works thereof.
    
    "Distribute" means the acts of a) distributing or b) making available
    in any manner that enables the transfer of a copy.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 1.6M bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterators.java

          Iterator<? extends T> iterator) {
        if (iterator instanceof PeekingImpl) {
          // Safe to cast <? extends T> to <T> because PeekingImpl only uses T
          // covariantly (and cannot be subclassed to add non-covariant uses).
          @SuppressWarnings("unchecked")
          PeekingImpl<T> peeking = (PeekingImpl<T>) iterator;
          return peeking;
        }
        return new PeekingImpl<>(iterator);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top