Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 786 for constructor (0.27 sec)

  1. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *
       * <ul>
       *   <li>The non-private constructor or non-private static factory method with the most parameters
       *       is used to construct the sample instances. In case of tie, the candidate constructors or
       *       factories are tried one after another until one can be used to construct sample
       *       instances.
       *   <li>For the constructor or static factory method used to construct instances, it's checked
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/Invokable.java

          return method.isVarArgs();
        }
      }
    
      static class ConstructorInvokable<T> extends Invokable<T, T> {
    
        final Constructor<?> constructor;
    
        ConstructorInvokable(Constructor<?> constructor) {
          super(constructor);
          this.constructor = constructor;
        }
    
        @Override
        final Object invokeInternal(@CheckForNull Object receiver, @Nullable Object[] args)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

          ORDERING_BY_CONSTRUCTOR_PARAMETER_LIST.onResultOf(
              constructor -> asList(constructor.getParameterTypes()));
    
      @CheckForNull
      private static <X> X newFromConstructor(Constructor<X> constructor, Throwable cause) {
        Class<?>[] paramTypes = constructor.getParameterTypes();
        Object[] params = new Object[paramTypes.length];
        for (int i = 0; i < paramTypes.length; i++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *
       * <ul>
       *   <li>The non-private constructor or non-private static factory method with the most parameters
       *       is used to construct the sample instances. In case of tie, the candidate constructors or
       *       factories are tried one after another until one can be used to construct sample
       *       instances.
       *   <li>For the constructor or static factory method used to construct instances, it's checked
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *
       * <ul>
       *   <li>The visible constructor or visible static factory method with the most parameters is used
       *       to construct the sample instances. In case of tie, the candidate constructors or
       *       factories are tried one after another until one can be used to construct sample
       *       instances.
       *   <li>For the constructor or static factory method used to construct instances, it's checked
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        public final void publicFinalMethod() {}
    
        void notAnnotatedMethod() {}
    
        static Invokable<A, A> constructor() throws Exception {
          Constructor<A> constructor = A.class.getDeclaredConstructor(Object.class);
          Invokable<A, A> invokable = Invokable.from(constructor);
          assertEquals(constructor.getName(), invokable.getName());
          assertEquals(A.class, invokable.getDeclaringClass());
          return invokable;
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt

                return true
            }
    
            val aConstructor = a.constructor
            val bConstructor = b.constructor
    
            if (aConstructor is IntersectionTypeConstructor) {
                return aConstructor.supertypes.all { areTypesCompatible(it, b) }
            }
    
            if (bConstructor is IntersectionTypeConstructor) {
                return bConstructor.supertypes.all { areTypesCompatible(a, it) }
            }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Jan 29 09:37:59 GMT 2024
    - 23.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

       */
      public void testConstructors(Class<?> c, Visibility minimalVisibility) {
        for (Constructor<?> constructor : c.getDeclaredConstructors()) {
          if (minimalVisibility.isVisible(constructor) && !isIgnored(constructor)) {
            testConstructor(constructor);
          }
        }
      }
    
      /** Runs {@link #testConstructor} on every public constructor in class {@code c}. */
      public void testAllPublicConstructors(Class<?> c) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 22.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *
       * <ul>
       *   <li>The visible constructor or visible static factory method with the most parameters is used
       *       to construct the sample instances. In case of tie, the candidate constructors or
       *       factories are tried one after another until one can be used to construct sample
       *       instances.
       *   <li>For the constructor or static factory method used to construct instances, it's checked
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

       *     constructor that omits the cause.
       */
      @Deprecated
      protected UncheckedExecutionException() {}
    
      /**
       * Creates a new instance with the given detail message and no cause.
       *
       * @deprecated Prefer {@linkplain UncheckedExecutionException(String, Throwable)} a constructor
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 17:52:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
Back to top