Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 1,886 for Method (0.21 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

        return suite;
      }
    
      protected Collection<Method> suppressForEmptyList() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForSingletonList() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForArraysAsList() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForArrayList() {
        return emptySet();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

          for (Method method : RawTypeConsistencyTester.class.getDeclaredMethods()) {
            assertEquals(
                method.getReturnType(), TypeToken.of(method.getGenericReturnType()).getRawType());
            for (int i = 0; i < method.getParameterTypes().length; i++) {
              assertEquals(
                  method.getParameterTypes()[i],
                  TypeToken.of(method.getGenericParameterTypes()[i]).getRawType());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  3. doc/next/6-stdlib/99-minor/testing/61515.md

    Benchmarks can use the new [B.Loop] method in `for b.Loop() { ... }` loops to determine if iteration should continue....
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 20 19:09:41 UTC 2024
    - 118 bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/PreconditionsTest.java

      public void testAllOverloads_checkArgument() throws Exception {
        for (ImmutableList<Class<?>> sig : allSignatures(boolean.class)) {
          Method checkArgumentMethod =
              Preconditions.class.getMethod("checkArgument", sig.toArray(new Class<?>[] {}));
          checkArgumentMethod.invoke(null /* static method */, getParametersForSignature(true, sig));
    
          Object[] failingParams = getParametersForSignature(false, sig);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ForwardingSet.java

     * provided {@code standardAddAll} method.
     *
     * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
     * default} methods. Instead, it inherits their default implementations. When those implementations
     * invoke methods, they invoke methods on the {@code ForwardingSet}.
     *
     * <p>The {@code standard} methods are not guaranteed to be thread-safe, even when all of the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/eventbus/PackageSanityTests.java

     * limitations under the License.
     */
    
    package com.google.common.eventbus;
    
    import com.google.common.testing.AbstractPackageSanityTests;
    import java.lang.reflect.Method;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Basic sanity tests for the entire package.
     *
     * @author Ben Yu
     */
    
    public class PackageSanityTests extends AbstractPackageSanityTests {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. api/maven-api-meta/src/main/java/org/apache/maven/api/annotations/Nonnull.java

     * Annotated fields must not be null after construction has completed.
     * <p>
     * When this annotation is applied to a method it applies to the method return value.
     *
     * @see Nullable
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.CLASS)
    @Target({ElementType.FIELD, ElementType.PARAMETER, ElementType.METHOD})
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

    import com.google.common.testing.ForwardingWrapperTester;
    import java.lang.reflect.Method;
    import java.util.Arrays;
    
    /**
     * Tester for typical subclass of {@link ForwardingObject} by using Mockito.
     *
     * @author Ben Yu
     */
    final class ForwardingObjectTester {
    
      private static final Method DELEGATE_METHOD;
    
      static {
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 05 19:41:03 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ForwardingQueue.java

     * provided {@code standardOffer} method.
     *
     * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
     * default} methods. Instead, it inherits their default implementations. When those implementations
     * invoke methods, they invoke methods on the {@code ForwardingQueue}.
     *
     * <p>The {@code standard} methods are not guaranteed to be thread-safe, even when all of the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

        for (String propertyName : new String[] {"value", "absent"}) {
          Method method = null;
          try {
            method = annotationClass.getMethod(propertyName);
          } catch (NoSuchMethodException e) {
            throw new AssertionError("Annotation is missing required method", e);
          }
          final Class<?> returnType = method.getReturnType();
          assertTrue(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:09:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top