Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,229 for Method (0.19 sec)

  1. android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

      }
    
      private static Set<Method> findInterruptibleMethods(Class<?> interfaceType) {
        Set<Method> set = Sets.newHashSet();
        for (Method m : interfaceType.getMethods()) {
          if (declaresInterruptedEx(m)) {
            set.add(m);
          }
        }
        return set;
      }
    
      private static boolean declaresInterruptedEx(Method method) {
        for (Class<?> exType : method.getExceptionTypes()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 27 14:21:11 GMT 2023
    - 9.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        for (Method method : getInstanceMethodsToTest(instance.getClass(), minimalVisibility)) {
          testMethod(instance, method);
        }
      }
    
      ImmutableList<Method> getInstanceMethodsToTest(Class<?> c, Visibility minimalVisibility) {
        ImmutableList.Builder<Method> builder = ImmutableList.builder();
        for (Method method : minimalVisibility.getInstanceMethods(c)) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 22.8K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/org/codelibs/core/lang/MethodUtilTest.java

            final Method equalsMethod = ClassUtil.getMethod(getClass(), "equals", Object.class);
            assertThat(MethodUtil.isHashCodeMethod(equalsMethod), is(not(true)));
        }
    
        /**
         *
         */
        @Test
        public void testIsToStringMethod() {
            final Method toStringMethod = ClassUtil.getMethod(getClass(), "toString");
            assertThat(MethodUtil.isToStringMethod(toStringMethod), is(true));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  5. api/go1.21.txt

    pkg log/slog, method (Value) Any() interface{} #56345
    pkg log/slog, method (Value) Bool() bool #56345
    pkg log/slog, method (Value) Duration() time.Duration #56345
    pkg log/slog, method (Value) Equal(Value) bool #56345
    pkg log/slog, method (Value) Float64() float64 #56345
    pkg log/slog, method (Value) Group() []Attr #56345
    pkg log/slog, method (Value) Int64() int64 #56345
    pkg log/slog, method (Value) Kind() Kind #56345
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Aug 07 09:39:17 GMT 2023
    - 25.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        Method[] methods = getMostConcreteMethods(interfaceType);
        AccessibleObject.setAccessible(methods, true);
        for (Method method : methods) {
          // Under java 8, interfaces can have default methods that aren't abstract.
          // No need to verify them.
          // Can't check isDefault() for JDK 7 compatibility.
          if (!Modifier.isAbstract(method.getModifiers())) {
            continue;
          }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        Method[] methods = getMostConcreteMethods(interfaceType);
        AccessibleObject.setAccessible(methods, true);
        for (Method method : methods) {
          // Under java 8, interfaces can have default methods that aren't abstract.
          // No need to verify them.
          // Can't check isDefault() for JDK 7 compatibility.
          if (!Modifier.isAbstract(method.getModifiers())) {
            continue;
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/eventbus/SubscriberTest.java

        subscriber.invokeSubscriberMethod(FIXTURE_ARGUMENT);
    
        assertTrue("Subscriber must call provided method", methodCalled);
        assertTrue(
            "Subscriber argument must be exactly the provided object.",
            methodArgument == FIXTURE_ARGUMENT);
      }
    
      public void testInvokeSubscriberMethod_exceptionWrapping() throws Throwable {
        Method method = getTestSubscriberMethod("exceptionThrowingMethod");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/Invokable.java

        final Method method;
    
        MethodInvokable(Method method) {
          super(method);
          this.method = method;
        }
    
        @Override
        @CheckForNull
        final Object invokeInternal(@CheckForNull Object receiver, @Nullable Object[] args)
            throws InvocationTargetException, IllegalAccessException {
          return method.invoke(receiver, args);
        }
    
        @Override
    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)
  10. 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)
Back to top