Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 437 for Zach (0.15 sec)

  1. android/guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java

     *
     * <p>See {@link TestingExecutors#sameThreadScheduledExecutor()} for a full list of constraints.
     *
     * @author John Sirois
     * @author Zach van Schouwen
     */
    @GwtIncompatible
    class SameThreadScheduledExecutorService extends AbstractExecutorService
        implements ListeningScheduledExecutorService {
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 6.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java

     *
     * <p>See {@link TestingExecutors#sameThreadScheduledExecutor()} for a full list of constraints.
     *
     * @author John Sirois
     * @author Zach van Schouwen
     */
    @GwtIncompatible
    class SameThreadScheduledExecutorService extends AbstractExecutorService
        implements ListeningScheduledExecutorService {
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 6.4K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/EqualsTester.java

     * </pre>
     *
     * <p>This tests:
     *
     * <ul>
     *   <li>comparing each object against itself returns true
     *   <li>comparing each object against null returns false
     *   <li>comparing each object against an instance of an incompatible class returns false
     *   <li>comparing each pair of objects within the same equality group returns true
     *   <li>comparing each pair of objects from different equality groups returns false
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

    import java.util.List;
    
    /**
     * Tester for {@link Equivalence} relationships between groups of objects.
     *
     * <p>To use, create a new {@link EquivalenceTester} and add equivalence groups where each group
     * contains objects that are supposed to be equal to each other. Objects of different groups are
     * expected to be unequal. For example:
     *
     * <pre>{@code
     * EquivalenceTester.of(someStringEquivalence)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Callables.java

     * @since 1.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Callables {
      private Callables() {}
    
      /** Creates a {@code Callable} which immediately returns a preset value each time it is called. */
      public static <T extends @Nullable Object> Callable<T> returning(@ParametricNullness T value) {
        return () -> value;
      }
    
      /**
       * Creates an {@link AsyncCallable} from a {@link Callable}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/CacheBuilder.java

       * value, you should always choose it explicitly.
       *
       * <p>The current implementation uses the concurrency level to create a fixed number of hashtable
       * segments, each governed by its own write lock. The segment lock is taken once for each explicit
       * write, and twice for each cache loading computation (once prior to loading the new value, and
       * once after loading completes). Much internal cache management is performed at the segment
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/LazyLogger.java

         * to avoid the extra class for the lambda (and maybe more for memoizingSupplier itself) and the
         * indirection.
         *
         * One thing to *avoid* is a change to make each Logger user use memoizingSupplier directly:
         * That may introduce an extra class for each lambda (currently a dozen).
         */
        Logger local = logger;
        if (local != null) {
          return local;
        }
        synchronized (this) {
          local = logger;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Serializes execution of tasks, somewhat like an "asynchronous {@code synchronized} block." Each
     * {@linkplain #submit enqueued} callable will not be submitted to its associated executor until the
     * previous callable has returned -- and, if the previous callable was an {@link AsyncCallable}, not
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/CharMatcher.java

       * character, then iterates the remainder of the sequence calling {@link #matches(char)} for each
       * character.
       *
       * @param sequence the character sequence to replace matching characters in
       * @param replacement the character to append to the result string in place of each matching
       *     character in {@code sequence}
       * @return the new string
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multimaps.java

      }
    
      /**
       * Returns a {@code Collector} accumulating entries into a {@code Multimap} generated from the
       * specified supplier. Each input element is mapped to a key and a stream of values, each of which
       * are put into the resulting {@code Multimap}, in the encounter order of the stream and the
       * encounter order of the streams of values.
       *
       * <p>Example:
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 86.1K bytes
    - Viewed (0)
Back to top