Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5961 - 5970 of 8,397 for KClass (0.07 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code Organization}.
     *
     */
    class OrganizationTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Organization().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Organization().equals(null));
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java

     * <p>
     * Local snapshot metadata contains non-transformed snapshot version.
     *
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Deprecated(since = "4.0.0")
    class LocalSnapshotMetadataGenerator implements MetadataGenerator {
    
        private final Map<Object, LocalSnapshotMetadata> snapshots;
    
        private final Date timestamp;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/canonical/CanonicalProjectBuilderTest.java

    import org.apache.maven.project.MavenProject;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    /**
     */
    class CanonicalProjectBuilderTest extends AbstractMavenProjectTestCase {
        @Test
        void testProjectBuilder() throws Exception {
            File f = getFileForClasspathResource("canonical-pom.xml");
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/header-param-models.md

    {* ../../docs_src/header_param_models/tutorial001_an_py310.py hl[9:14,18] *}
    
    **FastAPI** 将从请求中接收到的 **headers** 中**提取**出**每个字段**的数据,并提供您定义的 Pydantic 模型。
    
    ## 查看文档
    
    您可以在文档 UI 的 `/docs` 中查看所需的 headers:
    
    <div class="screenshot">
    <img src="/img/tutorial/header-param-models/image01.png">
    </div>
    
    ## 禁止额外的 Headers
    
    在某些特殊使用情况下(可能并不常见),您可能希望**限制**您想要接收的 headers。
    
    您可以使用 Pydantic 的模型配置来禁止( `forbid` )任何额外( `extra` )字段:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 15 16:44:11 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. docs/pt/docs/project-generation.md

    Repositório GitHub: <a href="https://github.com/tiangolo/full-stack-fastapi-template" class="external-link" target="_blank">Full Stack FastAPI Template</a>
    
    ## Full Stack FastAPI Template - Pilha de Tecnologias e Recursos { #full-stack-fastapi-template-technology-stack-and-features }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:17:03 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/MultiReader.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link Reader} that concatenates multiple readers.
     *
     * @author Bin Zhu
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    final class MultiReader extends Reader {
      private final Iterator<? extends CharSource> it;
      private @Nullable Reader current;
    
      MultiReader(Iterator<? extends CharSource> readers) throws IOException {
        this.it = readers;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:37:28 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java

     *
     * <p>The items in {@code elementsToInsert} will be repeated if {@code steps} is larger than the
     * number of provided elements.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @NullMarked
    public abstract class ListIteratorTester<E extends @Nullable Object>
        extends AbstractIteratorTester<E, ListIterator<E>> {
      protected ListIteratorTester(
          int steps,
          Iterable<E> elementsToInsert,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/TreeBasedTableRowMapInterfaceTest.java

    import com.google.common.collect.testing.SortedMapInterfaceTest;
    import java.util.SortedMap;
    import org.jspecify.annotations.NullUnmarked;
    
    @GwtCompatible
    @NullUnmarked
    public class TreeBasedTableRowMapInterfaceTest extends SortedMapInterfaceTest<String, String> {
      public TreeBasedTableRowMapInterfaceTest() {
        super(false, false, true, true, true);
      }
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/SettableFuture.java

     * AbstractFuture}, which offers an extensible version of the API.
     *
     * @author Sven Mawson
     * @since 9.0 (in 1.0 as {@code ValueFuture})
     */
    @GwtCompatible
    public final class SettableFuture<V extends @Nullable Object>
        extends AbstractFuture.TrustedFuture<V> {
      /**
       * Creates a new {@code SettableFuture} that can be completed or cancelled by a later method call.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/SwitchableMetadataSource.java

    import org.apache.maven.repository.legacy.metadata.MetadataResolutionRequest;
    import org.eclipse.sisu.Priority;
    
    @Singleton
    @Priority(10)
    @Named
    @Deprecated
    public class SwitchableMetadataSource implements ArtifactMetadataSource {
        private ArtifactMetadataSource delegate;
    
        @Inject
        public SwitchableMetadataSource(@Named("test") ArtifactMetadataSource delegate) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top