Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for assignable (0.32 sec)

  1. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterException.java

                        isProperties = Properties.class.isAssignableFrom(Class.forName(param.getType()));
                    } catch (ClassNotFoundException e) {
                        // assume it is not assignable from Collection or Map
                    }
                }
    
                messageBuffer.append("Inside the definition for plugin '");
                messageBuffer.append(mojo.getPluginDescriptor().getArtifactId());
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Tue May 09 23:46:02 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    </p>
    
    
    <h3 id="Assignability">Assignability</h3>
    
    <p>
    A value <code>x</code> is <i>assignable</i> to a <a href="#Variables">variable</a> of type <code>T</code>
    ("<code>x</code> is assignable to <code>T</code>") if one of the following conditions applies:
    </p>
    
    <ul>
    <li>
    <code>x</code>'s type is identical to <code>T</code>.
    </li>
    <li>
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      public void testisSupertypeOf_resolved() {
        assertFalse(Assignability.of().isAssignable());
        assertTrue(new Assignability<Integer, Integer>() {}.isAssignable());
        assertTrue(new Assignability<Integer, Object>() {}.isAssignable());
        assertFalse(new Assignability<Integer, String>() {}.isAssignable());
        TypeTokenTest.<Number, Integer>assignabilityTestWithTypeVariables();
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  4. doc/go_spec.html

    defined type while the latter is a type literal
    (but they are still <a href="#Assignability">assignable</a>).
    </p>
    
    <h3 id="Assignability">Assignability</h3>
    
    <p>
    A value <code>x</code> of type <code>V</code> is <i>assignable</i> to a <a href="#Variables">variable</a> of type <code>T</code>
    ("<code>x</code> is assignable to <code>T</code>") if one of the following conditions applies:
    </p>
    
    <ul>
    <li>
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/eventbus/EventBus.java

     *
     * <p>Events are routed based on their type &mdash; an event will be delivered to any subscriber for
     * any type to which the event is assignable. This includes implemented interfaces, all
     * superclasses, and all interfaces implemented by superclasses.
     *
     * <p>When {@code post} is called, all registered subscribers for an event are run in sequence, so
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 25 16:37:57 GMT 2021
    - 12.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Predicates.java

        return new InstanceOfPredicate<>(clazz);
      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if the class being tested is assignable to
       * (is a subtype of) {@code clazz}. Example:
       *
       * <pre>{@code
       * List<Class<?>> classes = Arrays.asList(
       *     Object.class, String.class, Number.class, Long.class);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      public void testisSupertypeOf_resolved() {
        assertFalse(Assignability.of().isAssignable());
        assertTrue(new Assignability<Integer, Integer>() {}.isAssignable());
        assertTrue(new Assignability<Integer, Object>() {}.isAssignable());
        assertFalse(new Assignability<Integer, String>() {}.isAssignable());
        TypeTokenTest.<Number, Integer>assignabilityTestWithTypeVariables();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  8. src/builtin/builtin.go

    func new(Type) *Type
    
    // The complex built-in function constructs a complex value from two
    // floating-point values. The real and imaginary parts must be of the same
    // size, either float32 or float64 (or assignable to them), and the return
    // value will be the corresponding complex type (complex64 for float32,
    // complex128 for float64).
    func complex(r, i FloatType) ComplexType
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

          int k = 0;
          int i = takeIndex;
          while (k < count) {
            // This cast is not itself safe, but the following statement
            // will fail if the runtime type of items[i] is not assignable
            // to the runtime type of a[k++], which is all that the method
            // contract requires (see @throws ArrayStoreException above).
            @SuppressWarnings("unchecked")
            T t = (T) items[i];
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

          int k = 0;
          int i = takeIndex;
          while (k < count) {
            // This cast is not itself safe, but the following statement
            // will fail if the runtime type of items[i] is not assignable
            // to the runtime type of a[k++], which is all that the method
            // contract requires (see @throws ArrayStoreException above).
            @SuppressWarnings("unchecked")
            T t = (T) items[i];
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
Back to top