Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for Walls (0.16 sec)

  1. guava-tests/test/com/google/common/base/SuppliersTest.java

    @ElementTypesAreNonnullByDefault
    @GwtCompatible(emulated = true)
    public class SuppliersTest extends TestCase {
    
      static class CountingSupplier implements Supplier<Integer> {
        int calls = 0;
    
        @Override
        public Integer get() {
          calls++;
          return calls * 10;
        }
    
        @Override
        public String toString() {
          return "CountingSupplier";
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/SuppliersTest.java

    @ElementTypesAreNonnullByDefault
    @GwtCompatible(emulated = true)
    public class SuppliersTest extends TestCase {
    
      static class CountingSupplier implements Supplier<Integer> {
        int calls = 0;
    
        @Override
        public Integer get() {
          calls++;
          return calls * 10;
        }
    
        @Override
        public String toString() {
          return "CountingSupplier";
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

      /**
       * The map does not throw {@code NullPointerException} on calls such as {@code containsKey(null)},
       * {@code get(null)}, {@code keySet().contains(null)} or {@code remove(null)}.
       */
      ALLOWS_NULL_KEY_QUERIES,
      ALLOWS_NULL_KEYS(ALLOWS_NULL_KEY_QUERIES),
      /**
       * The map does not throw {@code NullPointerException} on calls such as {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * as {@code execute} and {@code invokeAny}, are implemented in terms of calls to {@code
       * delegate.execute}. All other methods are forwarded unchanged to the delegate. This implies that
       * the returned {@code ListeningExecutorService} never calls the delegate's {@code submit}, {@code
       * invokeAll}, and {@code invokeAny} methods, so any special handling of tasks must be implemented
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

         * immediately fails with the same exception:
         *
         * Thread1: calls setException(), which returns true, context switch before it can CAS
         * seenExceptions to its exception
         *
         * Thread2: calls setException(), which returns false, CASes seenExceptions to its exception,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

           * class with a manual reference back to the "containing" class.)
           *
           * This has the nice-ish side effect of limiting reentrancy: run() calls
           * timeoutFuture.setException() calls run(). That reentrancy would already be harmless, since
           * timeoutFuture can be set (and delegate cancelled) only once. (And "set only once" is
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

    import java.util.List;
    import java.util.concurrent.atomic.AtomicInteger;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tester to ensure forwarding wrapper works by delegating calls to the corresponding method with
     * the same parameters forwarded and return value forwarded back or exception propagated as is.
     *
     * <p>For example:
     *
     * <pre>{@code
    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)
  8. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

    import java.util.List;
    import java.util.concurrent.atomic.AtomicInteger;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tester to ensure forwarding wrapper works by delegating calls to the corresponding method with
     * the same parameters forwarded and return value forwarded back or exception propagated as is.
     *
     * <p>For example:
     *
     * <pre>{@code
    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)
  9. guava/src/com/google/common/collect/ImmutableSortedSet.java

        throw new UnsupportedOperationException();
      }
    
      /**
       * Not supported. <b>You are attempting to create a set that may contain a non-{@code Comparable}
       * element.</b> Proper calls will resolve to the version in {@code ImmutableSortedSet}, not this
       * dummy version.
       *
       * @throws UnsupportedOperationException always
       * @deprecated <b>Pass a parameter of type {@code Comparable} to use {@link
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum CollectionFeature implements Feature<Collection> {
      /**
       * The collection must not throw {@code NullPointerException} on calls such as {@code
       * contains(null)} or {@code remove(null)}, but instead must return a simple {@code false}.
       */
      ALLOWS_NULL_QUERIES,
      ALLOWS_NULL_VALUES(ALLOWS_NULL_QUERIES),
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.1K bytes
    - Viewed (0)
Back to top