- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 223 for subclasses (0.12 sec)
-
compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java
import org.junit.jupiter.api.Test; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.contains; import static org.hamcrest.Matchers.is; /** * MavenMerger is based on same instances, subclasses should override KeyComputer per type * * */ class MavenMergerTest { private MavenMerger mavenMerger = new MavenMerger(); @Test void mergeArtifactId() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Cut.java
} catch (ClassCastException wastNotComparableToOurType) { return false; } } return false; } // Prevent "missing hashCode" warning by explicitly forcing subclasses implement it @Override public abstract int hashCode(); /* * The implementation neither produces nor consumes any non-null instance of type C, so * casting the type parameter is safe. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 12.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
*/ Builder<K, V> makeBuilder(int size) { return new Builder<>(size); } private static final long serialVersionUID = 0; } /** * Returns a serializable form of this object. Non-public subclasses should not override this
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 41.5K bytes - Viewed (0) -
docs/en/docs/tutorial/response-model.md
This simple case is handled automatically by FastAPI because the return type annotation is the class (or a subclass of) `Response`. And tools will also be happy because both `RedirectResponse` and `JSONResponse` are subclasses of `Response`, so the type annotation is correct. ### Annotate a Response Subclass You can also use a subclass of `Response` in the type annotation: ```Python hl_lines="8-9"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 18.1K bytes - Viewed (0) -
fastapi/security/oauth2.py
as a dependency. All other OAuth2 classes inherit from it and customize it for each OAuth2 flow. You normally would not create a new class inheriting from it but use one of the existing subclasses, and maybe compose them if you want to support multiple flows. Read more about it in the [FastAPI docs for Security](https://fastapi.tiangolo.com/tutorial/security/). """ def __init__(
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 23 18:30:18 UTC 2024 - 21.1K bytes - Viewed (0) -
android/pom.xml
<exclude>%regex[.*Tester.class]</exclude> <!-- Anonymous TestCase subclasses in GeneratedMonitorTest --> <exclude>%regex[.*[$]\d+.class]</exclude> </excludes> <redirectTestOutputToFile>true</redirectTestOutputToFile> <runOrder>alphabetical</runOrder>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 21K bytes - Viewed (0) -
pom.xml
<exclude>%regex[.*Tester.class]</exclude> <!-- Anonymous TestCase subclasses in GeneratedMonitorTest --> <exclude>%regex[.*[$]\d+.class]</exclude> </excludes> <redirectTestOutputToFile>true</redirectTestOutputToFile> <runOrder>alphabetical</runOrder>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 20.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
* more information, see the comments in that class. * * We already know that that's how it behaves, and subclasses of Converter can't change that * behavior. So there's no sense in making all subclass authors exclude the method from any * NullPointerTester tests that they have. */ ignoredMembers.add(Converter.class.getMethod("apply", Object.class));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 22.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
import java.util.Set; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests representing the contract of {@link Map}. Concrete subclasses of this base class test * conformance of concrete {@link Map} subclasses to that contract. * * @param <K> the type of keys used by the maps under test * @param <V> the type of mapped values used the maps under test * @author George van den Driessche */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.8K bytes - Viewed (0) -
android/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.9K bytes - Viewed (0)