Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 154 for subClasses (0.07 sec)

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

    import com.google.common.reflect.TypeToken;
    import java.lang.reflect.Method;
    import junit.framework.TestCase;
    
    /**
     * Tests that all package-private {@code writeReplace} methods are overridden in any existing
     * subclasses. Without such overrides, optimizers might put a {@code writeReplace}-containing class
     * and its subclass in different packages, causing the serialization system to fail to invoke {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/extra-models.md

    And these models are all sharing a lot of the data and duplicating attribute names and types.
    
    We could do better.
    
    We can declare a `UserBase` model that serves as a base for our other models. And then we can make subclasses of that model that inherit its attributes (type declarations, validation, etc).
    
    All the data conversion, validation, documentation, etc. will still work as normally.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/AbstractCache.java

     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractCache<K, V> implements Cache<K, V> {
    
      /** Constructor for use by subclasses. */
      protected AbstractCache() {}
    
      /** @since 11.0 */
      @Override
      public V get(K key, Callable<? extends V> valueLoader) throws ExecutionException {
        throw new UnsupportedOperationException();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/DiscreteDomain.java

          return "DiscreteDomain.bigIntegers()";
        }
    
        private static final long serialVersionUID = 0;
      }
    
      final boolean supportsFastOffset;
    
      /** Constructor for use by subclasses. */
      protected DiscreteDomain() {
        this(false);
      }
    
      /** Private constructor for built-in DiscreteDomains supporting fast offset. */
      private DiscreteDomain(boolean supportsFastOffset) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

     * class. For example, testing that {@code nodes()} method returns the set of the nodes in the
     * graph. The following test cases are left for the subclasses to handle:
     *
     * <ul>
     *   <li>Test cases related to whether the graph is directed or undirected.
     *   <li>Test cases related to the specific implementation of the {@link Graph} interface.
     * </ul>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

          }
          index++;
        }
        return index;
      }
    
      /**
       * Escapes a code point that has no direct explicit value in the replacement array and lies
       * outside the stated safe range. Subclasses should override this method to provide generalized
       * escaping for code points if required.
       *
       * <p>Note that arrays returned by this method must not be modified once they have been returned.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Base class for tests for emulated {@link AbstractFuture} that allow subclasses to swap in a
     * different "source Future" for {@link AbstractFuture#setFuture} calls.
     */
    @GwtCompatible(emulated = true)
    abstract class AbstractAbstractFutureTest extends TestCase {
      private TestedFuture<Integer> future;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. fastapi/dependencies/utils.py

                params_to_process[key] = value
    
        if single_not_embedded_field:
            field_info = first_field.field_info
            assert isinstance(
                field_info, params.Param
            ), "Params must be subclasses of Param"
            loc: Tuple[str, ...] = (field_info.in_.value,)
            v_, errors_ = _validate_value_with_model_field(
                field=first_field, value=params_to_process, values=values, loc=loc
            )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/path-params-numeric-validations.md

    * `gt`: `g`reater `t`han
    * `ge`: `g`reater than or `e`qual
    * `lt`: `l`ess `t`han
    * `le`: `l`ess than or `e`qual
    
    /// info
    
    `Query`, `Path`, and other classes you will see later are subclasses of a common `Param` class.
    
    All of them share the same parameters for additional validation and metadata you have seen.
    
    ///
    
    /// note | "Technical Details"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

          return null;
        }
        return escapeUnsafe(c);
      }
    
      /**
       * Escapes a {@code char} value that has no direct explicit value in the replacement array and
       * lies outside the stated safe range. Subclasses should override this method to provide
       * generalized escaping for characters.
       *
       * <p>Note that arrays returned by this method must not be modified once they have been returned.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.3K bytes
    - Viewed (0)
Back to top