Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 525 for Primitive (0.21 sec)

  1. android/guava/src/com/google/common/primitives/Primitives.java

     * @since 1.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Primitives {
      private Primitives() {}
    
      /** A map from primitive types to their corresponding wrapper types. */
      private static final Map<Class<?>, Class<?>> PRIMITIVE_TO_WRAPPER_TYPE;
    
      /** A map from wrapper types to their corresponding primitive types. */
      private static final Map<Class<?>, Class<?>> WRAPPER_TO_PRIMITIVE_TYPE;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Oct 05 19:04:25 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Primitives.java

     * @since 1.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Primitives {
      private Primitives() {}
    
      /** A map from primitive types to their corresponding wrapper types. */
      private static final Map<Class<?>, Class<?>> PRIMITIVE_TO_WRAPPER_TYPE;
    
      /** A map from wrapper types to their corresponding primitive types. */
      private static final Map<Class<?>, Class<?>> WRAPPER_TO_PRIMITIVE_TYPE;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Oct 05 19:04:25 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  3. testing/architecture-test/src/changes/archunit-store/public-api-methods-return-allowed-types.txt

    Method <org.gradle.api.Project.ant(groovy.lang.Closure)> has arguments/return type groovy.lang.Closure that is not Gradle public API or primitive or built-in JDK classes or Kotlin classes in (Project.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 12:21:31 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  4. maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

         * method invocation conversion, treating object types of primitive
         * types as if they were primitive types (that is, a Boolean actual
         * parameter type matches boolean primitive formal type). This behavior
         * is because this method is used to determine applicable methods for
         * an actual parameter list, and primitive types are represented by
         * their object duals in reflective method calls.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 17 17:55:08 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/PrimitiveTypesTest.groovy

            Double    | _
        }
    
        def "#type is primitive"() {
            expect:
            PrimitiveTypes.isPrimitiveType(ModelType.of(type))
    
            where:
            type    | _
            boolean | _
            char    | _
            byte    | _
            short   | _
            int     | _
            float   | _
            long    | _
            double  | _
        }
    
        def "primitive #type default value is #value"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/internal/typeconversion/DefaultTypeConverterTest.groovy

        }
    
        def "converts CharSequence to primitive boolean"() {
            expect:
            converter.convert("123", Boolean.class, true) == false
            converter.convert(new StringBuilder("true"), Boolean.class, true) == true
        }
    
        def "converts Boolean to primitive boolean"() {
            expect:
            converter.convert(Boolean.TRUE, Boolean.class, true) == true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 13.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/package-info.java

     */
    
    /**
     * Static utilities for the eight primitive types and {@code void}, and value types for treating
     * them as unsigned or storing them in immutable arrays.
     *
     * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a>
     * library.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/PrimitivesExplained">primitive utilities</a>.
     *
     * <h2>Contents</h2>
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/model/DefaultObjectFactoryTest.groovy

            when:
            factory.property(null)
    
            then:
            def t = thrown(IllegalArgumentException)
            t.message == 'Class cannot be null'
        }
    
        def "can create property with primitive type"() {
            given:
            def property = factory.property(type)
    
            expect:
            property.type == boxedType
            !property.present
    
            where:
            type           | boxedType
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 16:04:05 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/package-info.java

     */
    
    /**
     * Static utilities for the eight primitive types and {@code void}, and value types for treating
     * them as unsigned or storing them in immutable arrays.
     *
     * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a>
     * library.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/PrimitivesExplained">primitive utilities</a>.
     *
     * <h2>Contents</h2>
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ScalarTypesInManagedModelIntegrationTest.groovy

                def propName = type.primitive ? "primitive${type.name.capitalize()}${i++}" : "boxed${type.simpleName}${i++}"
                [dsl       : """${type.canonicalName} get${propName.capitalize()}();
                   void set${propName.capitalize()}(${type.canonicalName} value);
    """,
                 assignment: "p.set${propName.capitalize()}($value);",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 27.1K bytes
    - Viewed (0)
Back to top