Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 7,721 for class2 (0.13 sec)

  1. docs/pt/docs/python-types.md

    Perceba que isso significa que "`one_person` é uma **instância** da classe `Person`".
    
    Isso não significa que "`one_person` é a **classe** chamada `Person`".
    
    ## Modelos Pydantic
    
    O <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a> é uma biblioteca Python para executar a validação de dados.
    
    Você declara a "forma" dos dados como classes com atributos.
    
    E cada atributo tem um tipo.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 15 12:32:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/path-params.md

    ### Criando uma classe `Enum`
    
    Importe `Enum` e crie uma sub-classe que herde de `str` e de `Enum`.
    
    Por herdar de `str` a documentação da API vai ser capaz de saber que os valores devem ser do tipo `string` e assim ser capaz de mostrar eles corretamente.
    
    Assim, crie atributos de classe com valores fixos, que serão os valores válidos disponíveis.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

     * TODO: this is session scoped as SPI can contribute.
     */
    @Named
    @Singleton
    public class DefaultLifecycleRegistry implements LifecycleRegistry {
    
        private static final String MAVEN_PLUGINS = "org.apache.maven.plugins:";
    
        public static final String DEFAULT_LIFECYCLE_MODELID = "org.apache.maven:maven-core:"
                + DefaultLifecycleRegistry.class.getPackage().getImplementationVersion()
                + ":default-lifecycle-bindings";
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt

      open fun closes(event: ConnectionEvent): Boolean? = null
    
      val name: String
        get() = javaClass.simpleName
    
      data class ConnectStart(
        override val timestampNs: Long,
        val route: Route,
        val call: Call,
      ) : ConnectionEvent()
    
      data class ConnectFailed(
        override val timestampNs: Long,
        val route: Route,
        val call: Call,
        val exception: IOException,
      ) : ConnectionEvent() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

         * superclass or implemented interface of the class.
         *
         * @param clazz      the class whose method is sought
         * @param name       the name of the method
         * @param paramTypes the classes of method parameters
         */
        private static Method getPublicMethod(Class<?> clazz, String name, Class<?>... paramTypes) {
            // if this class is public, then try to get it
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

     * 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
     * writeReplace} when serializing an instance of the subclass. For an example of this problem, see
     * b/310253115.
     */
    public class WriteReplaceOverridesTest extends TestCase {
      private static final ImmutableSet<String> GUAVA_PACKAGES =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

                if (formal == Integer.TYPE && (actual == Integer.class || actual == Short.class || actual == Byte.class)) {
                    return true;
                }
                if (formal == Long.TYPE
                        && (actual == Long.class
                                || actual == Integer.class
                                || actual == Short.class
                                || actual == Byte.class)) {
                    return true;
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

        assertThat(findClassesToTest(ImmutableList.of(Foo.class, FooTest.class), "testNotThere"))
            .containsExactly(Foo.class);
        assertThat(findClassesToTest(ImmutableList.of(Foo.class, FooTest.class), "testNotPublic"))
            .containsExactly(Foo.class);
      }
    
      public void testFindClassesToTest_withCorrespondingTestClassAndExplicitlyTested() {
        ImmutableList<Class<?>> classes = ImmutableList.of(Foo.class, FooTest.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 21:37:55 UTC 2019
    - 5.3K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AnonymousClassesFilteringTest.kt

     */
    
    package gradlebuild.binarycompatibility
    
    import org.junit.Test
    
    
    class AnonymousClassesFilteringTest : AbstractBinaryCompatibilityTest() {
    
        @Test
        fun `anonymous classes are excluded (java)`() {
    
            checkBinaryCompatibleJava(
                v1 = """
                    public class Source {
                        public void some() {}
                    }
                """,
                v2 = """
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  10. api/maven-api-plugin/src/test/java/org/apache/maven/api/plugin/descriptor/another/ExtendedPluginDescriptorTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    /**
     * Verifies that subclasses from generated model classes are possible.
     */
    class ExtendedPluginDescriptorTest {
    
        /**
         * A subclass of the generated class {@link PluginDescriptor} that adds an additional field.
         */
        public static class ExtendedPluginDescriptor extends PluginDescriptor {
    
            private final String additionalField;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 07:05:43 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top