Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 109 for asSubclass (0.07 sec)

  1. android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java

       * {@link SortedMultiset#entrySet}, and {@link SortedMultiset#remove(Object, int)}. In many
       * situations, you may wish to override {@link SortedMultiset#elementSet} to forward to this
       * implementation or a subclass thereof.
       *
       * @since 15.0
       */
      protected class StandardElementSet extends SortedMultisets.NavigableElementSet<E> {
        /** Constructor for use by subclasses. */
        public StandardElementSet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingMap.java

       * {@link ForwardingMap#entrySet}. In many cases, you may wish to override {@link
       * ForwardingMap#keySet} to forward to this implementation or a subclass thereof.
       *
       * @since 10.0
       */
      protected class StandardKeySet extends Maps.KeySet<K, V> {
        /** Constructor for use by subclasses. */
        public StandardKeySet() {
          super(ForwardingMap.this);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

      /**
       * A duplex request body is special in how it is **transmitted** on the network and
       * in the **API contract** between OkHttp and the application.
       *
       * This method returns false unless it is overridden by a subclass.
       *
       * ### Duplex Transmission
       *
       * With regular HTTP calls the request always completes sending before the response may begin
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 25 14:41:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java

    /**
     * {@link FluentFuture} that forwards all calls to a delegate.
     *
     * <h3>Extension</h3>
     *
     * If you want a class like {@code FluentFuture} but with extra methods, we recommend declaring your
     * own subclass of {@link ListenableFuture}, complete with a method like {@link #from} to adapt an
     * existing {@code ListenableFuture}, implemented atop a {@link ForwardingListenableFuture} that
     * forwards to that future and adds the desired methods.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 05 22:27:35 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

    import com.google.common.collect.Iterables;
    import com.google.common.testing.ForwardingWrapperTester;
    import java.lang.reflect.Method;
    import java.util.Arrays;
    
    /**
     * Tester for typical subclass of {@link ForwardingObject} by using Mockito.
     *
     * @author Ben Yu
     */
    final class ForwardingObjectTester {
    
      private static final Method DELEGATE_METHOD;
    
      static {
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 05 19:41:03 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/InvalidatableSet.java

    package com.google.common.graph;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.base.Supplier;
    import com.google.common.collect.ForwardingSet;
    import java.util.Set;
    
    /**
     * A subclass of `ForwardingSet` that throws `IllegalStateException` on invocation of any method
     * (except `hashCode` and `equals`) if the provided `Supplier` returns false.
     */
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactory.java

     * Maven plugins should always acquire settings builder instances via dependency injection. Developers might want to
     * subclass this factory to provide custom implementations for some of the components used by the settings builder.
     *
     * @deprecated since 4.0.0, use {@link org.apache.maven.api.services.SettingsBuilder} instead
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java

    /**
     * A utility similar to {@link IteratorTester} for testing a {@link ListIterator} against a known
     * good reference implementation. As with {@code IteratorTester}, a concrete subclass must provide
     * target iterators on demand. It also requires three additional constructor parameters: {@code
     * elementsToInsert}, the elements to be passed to {@code set()} and {@code add()} calls; {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java

    /**
     * {@link FluentFuture} that forwards all calls to a delegate.
     *
     * <h3>Extension</h3>
     *
     * If you want a class like {@code FluentFuture} but with extra methods, we recommend declaring your
     * own subclass of {@link ListenableFuture}, complete with a method like {@link #from} to adapt an
     * existing {@code ListenableFuture}, implemented atop a {@link ForwardingListenableFuture} that
     * forwards to that future and adds the desired methods.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 05 22:27:35 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/MapRetrievalCache.java

        }
    
        value = getWithoutCaching(key);
        if (value != null) {
          addToCache((K) key, value);
        }
        return value;
      }
    
      // Internal methods (package-visible, but treat as only subclass-visible)
    
      @Override
      @CheckForNull
      V getIfCached(@CheckForNull Object key) {
        V value = super.getIfCached(key);
        if (value != null) {
          return value;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 3.2K bytes
    - Viewed (0)
Back to top