Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 244 for Primitive (0.54 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/internal/fuzz/encoding.go

    			val, kind = lit.Value, lit.Kind
    		case *ast.Ident:
    			if lit.Name != "NaN" {
    				return nil, fmt.Errorf("literal value required for primitive type")
    			}
    			val, kind = "NaN", token.FLOAT
    		default:
    			return nil, fmt.Errorf("literal value required for primitive type")
    		}
    	}
    
    	switch typ := idType.Name; typ {
    	case "string":
    		if kind != token.STRING {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 16:39:12 UTC 2022
    - 11K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Bytes.java

       *
       * @param value a primitive {@code byte} value
       * @return a hash code for the value
       */
      public static int hashCode(byte value) {
        return value;
      }
    
      /**
       * Returns {@code true} if {@code target} is present as an element anywhere in {@code array}.
       *
       * @param array an array of {@code byte} values, possibly empty
       * @param target a primitive {@code byte} value
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/Bytes.java

       *
       * @param value a primitive {@code byte} value
       * @return a hash code for the value
       */
      public static int hashCode(byte value) {
        return value;
      }
    
      /**
       * Returns {@code true} if {@code target} is present as an element anywhere in {@code array}.
       *
       * @param array an array of {@code byte} values, possibly empty
       * @param target a primitive {@code byte} value
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Chars.java

     * Static utility methods pertaining to {@code char} primitives, that are not already found in
     * either {@link Character} or {@link Arrays}.
     *
     * <p>All the operations in this class treat {@code char} values strictly numerically; they are
     * neither Unicode-aware nor locale-dependent.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/PrimitivesExplained">primitive utilities</a>.
     *
     * @author Kevin Bourrillion
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Booleans.java

    import javax.annotation.CheckForNull;
    
    /**
     * Static utility methods pertaining to {@code boolean} primitives, that are not already found in
     * either {@link Boolean} or {@link Arrays}.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/PrimitivesExplained">primitive utilities</a>.
     *
     * @author Kevin Bourrillion
     * @since 1.0
     */
    @GwtCompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Booleans.java

    import javax.annotation.CheckForNull;
    
    /**
     * Static utility methods pertaining to {@code boolean} primitives, that are not already found in
     * either {@link Boolean} or {@link Arrays}.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/PrimitivesExplained">primitive utilities</a>.
     *
     * @author Kevin Bourrillion
     * @since 1.0
     */
    @GwtCompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Chars.java

     * Static utility methods pertaining to {@code char} primitives, that are not already found in
     * either {@link Character} or {@link Arrays}.
     *
     * <p>All the operations in this class treat {@code char} values strictly numerically; they are
     * neither Unicode-aware nor locale-dependent.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/PrimitivesExplained">primitive utilities</a>.
     *
     * @author Kevin Bourrillion
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top