Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 223 for subclasses (0.19 sec)

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

     *
     * <p>{@link #setDefault} allows subclasses to specify default values for types.
     *
     * <p>This class incurs IO because it scans the classpath and reads classpath resources.
     *
     * @author Ben Yu
     * @since 14.0
     */
    // TODO: Switch to JUnit 4 and use @Parameterized and @BeforeClass
    // Note: @Test annotations are deliberate, as some subclasses specify @RunWith(JUnit4).
    @GwtIncompatible
    @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K 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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. guava/src/com/google/common/io/CharSource.java

     * </ul>
     *
     * @since 14.0
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class CharSource {
    
      /** Constructor for use by subclasses. */
      protected CharSource() {}
    
      /**
       * Returns a {@link ByteSource} view of this char source that encodes chars read from this source
       * as bytes using the given {@link Charset}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. 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)
Back to top