Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for stacked (0.23 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        final CountDownLatch started = new CountDownLatch(1);
        FakeService service =
            new FakeService() {
              @Override
              protected void startUp() throws Exception {
                super.startUp();
                started.await();
              }
            };
        service.startAsync();
        service.stopAsync();
        started.countDown();
        service.awaitTerminated();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/JdkPattern.java

    package com.google.common.base;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.io.Serializable;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /** A regex pattern implementation which is backed by the {@link Pattern}. */
    @ElementTypesAreNonnullByDefault
    @GwtIncompatible
    final class JdkPattern extends CommonPattern implements Serializable {
      private final Pattern pattern;
    
      JdkPattern(Pattern pattern) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Converter.java

     *   <li>{@code stringConverter().reverse().convert(1.0)} returns the string {@code "1.0"} --
     *       <i>not</i> the same string ({@code "1.00"}) we started with
     * </ol>
     *
     * <p>Note that it should still be the case that the round-tripped and original objects are
     * <i>similar</i>.
     *
     * <h3>Nullability</h3>
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableEnumSet.java

    import java.util.Collection;
    import java.util.EnumSet;
    import java.util.Spliterator;
    import java.util.function.Consumer;
    import javax.annotation.CheckForNull;
    
    /**
     * Implementation of {@link ImmutableSet} backed by a non-empty {@link java.util.EnumSet}.
     *
     * @author Jared Levy
     */
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial") // we're overriding default serialization
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/BiMap.java

       */
      @Override
      Set<V> values();
    
      /**
       * Returns the inverse view of this bimap, which maps each of this bimap's values to its
       * associated key. The two bimaps are backed by the same data; any changes to one will appear in
       * the other.
       *
       * <p><b>Note:</b>There is no guaranteed correspondence between the iteration order of a bimap and
       * that of its inverse.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

        // Lock while we check state. We must maintain the lock while adding the new pair so that
        // another thread can't run the list out from under us. We only add to the list if we have not
        // yet started execution.
        synchronized (this) {
          if (!executed) {
            runnables = new RunnableExecutorPair(runnable, executor, runnables);
            return;
          }
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Lists.java

        // TODO(kevinb): Figure out the right behavior, and document it
        return Ints.saturatedCast(5L + arraySize + (arraySize / 10));
      }
    
      /**
       * Creates an {@code ArrayList} instance backed by an array with the specified initial size;
       * simply delegates to {@link ArrayList#ArrayList(int)}.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        final CountDownLatch secondSignal = new CountDownLatch(1);
        // tells the main thread when the second get has started
        final CountDownLatch thirdSignal = new CountDownLatch(1);
        // tells the main thread when the third get has started
        final CountDownLatch fourthSignal = new CountDownLatch(1);
        // tells the test when all gets have returned
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        }
      }
    
      private static void assertIntactUsingStartedWith(
          Collection<?> startedWith, MinMaxPriorityQueue<?> q) {
        if (!q.isIntact()) {
          fail("Started with " + startedWith + ". State " + Arrays.toString(q.toArray()));
        }
      }
    
      private static void assertEqualsUsingSeed(
          long seed, @Nullable Object expected, @Nullable Object actual) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractBiMap.java

      @SuppressWarnings("nullness:initialization.field.uninitialized") // For J2KT (lateinit)
      @RetainedWith
      transient AbstractBiMap<V, K> inverse;
    
      /** Package-private constructor for creating a map-backed bimap. */
      AbstractBiMap(Map<K, V> forward, Map<V, K> backward) {
        setDelegates(forward, backward);
      }
    
      /** Private constructor for inverse bimap. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 14.6K bytes
    - Viewed (0)
Back to top