Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 721 for Method (0.22 sec)

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

       *       {@code cls}, no test is performed.
       *   <li>Equality test is not performed on method return values unless the method is a non-private
       *       static factory method whose return type is {@code cls} or {@code cls}'s subtype.
       *   <li>Inequality check is not performed against state mutation methods such as {@link
       *       List#add}, or functional update methods such as {@link
    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-tests/test/com/google/common/reflect/InvokableTest.java

          Class<?> c, ImmutableSet<String> ignore) {
        ImmutableSet.Builder<String> methods = ImmutableSet.builder();
        for (Method method : c.getMethods()) {
          if (Modifier.isStatic(method.getModifiers()) || ignore.contains(method.getName())) {
            continue;
          }
          StringBuilder signature =
              new StringBuilder()
                  .append(typeName(method.getReturnType()))
                  .append(" ")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt

                            }
                        }
                        methods.singleOrNull { it.name.endsWith(JvmAbi.ANNOTATED_PROPERTY_METHOD_NAME_SUFFIX) }?.let {
                            bindings.put(
                                FirJvmSerializerExtension.SYNTHETIC_METHOD_FOR_FIR_VARIABLE,
                                fir,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 09:19:07 GMT 2024
    - 10K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

                    ? getAllStates()
                    : invokeListMethod(method, args);
              }
    
              private Set<List<Integer>> getAllStates() {
                return allStates;
              }
    
              private Object invokeListMethod(Method method, Object[] args) throws Throwable {
                try {
                  Object returnValue = method.invoke(delegate, args);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Preconditions.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Static convenience methods that help a method or constructor check whether it was invoked
     * correctly (that is, whether its <i>preconditions</i> were met).
     *
     * <p>If the precondition is not met, the {@code Preconditions} method throws an unchecked exception
     * of a specified type, which helps the method in which the exception was thrown communicate that
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java

         * @param method
         *            メソッド。{@literal null}であってはいけません
         */
        public MethodDescImpl(final BeanDesc beanDesc, final Method method) {
            assertArgumentNotNull("beanDesc", beanDesc);
            assertArgumentNotNull("method", method);
    
            this.beanDesc = beanDesc;
            this.method = method;
            methodName = method.getName();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Request.kt

        level = DeprecationLevel.ERROR,
      )
      fun url(): HttpUrl = url
    
      @JvmName("-deprecated_method")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "method"),
        level = DeprecationLevel.ERROR,
      )
      fun method(): String = method
    
      @JvmName("-deprecated_headers")
      @Deprecated(
        message = "moved to val",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:17:44 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

    class FreshValueGenerator {
    
      private static final ImmutableMap<Class<?>, Method> GENERATORS;
    
      static {
        ImmutableMap.Builder<Class<?>, Method> builder = ImmutableMap.builder();
        for (Method method : FreshValueGenerator.class.getDeclaredMethods()) {
          if (method.isAnnotationPresent(Generates.class)) {
            builder.put(method.getReturnType(), method);
          }
        }
        GENERATORS = builder.buildOrThrow();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                assertHasAccepted(
                    "Method com.example.Task.getSourceCompatibility(): Is not binary compatible. Reason for accepting this: Upgraded property" to listOf("Method return type has changed", "Method is now abstract"),
                    "Method com.example.Task.setSourceCompatibility(java.lang.String): Is not binary compatible. Reason for accepting this: Upgraded property" to listOf("Method has been removed")
                )
            }
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

       */
      @CanIgnoreReturnValue
      public B suppressing(Method... methods) {
        return suppressing(Arrays.asList(methods));
      }
    
      @CanIgnoreReturnValue
      public B suppressing(Collection<Method> methods) {
        suppressedTests.addAll(methods);
        return self();
      }
    
      public Set<Method> getSuppressedTests() {
        return suppressedTests;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.2K bytes
    - Viewed (0)
Back to top