Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for queue (0.13 sec)

  1. android/guava/src/com/google/common/collect/Iterables.java

       * {@link Iterators#consumingIterator(Iterator)}.
       *
       * <p>Note: If {@code iterable} is a {@link Queue}, the returned iterable will instead use {@link
       * Queue#isEmpty} and {@link Queue#remove()}, since {@link Queue}'s iteration order is undefined.
       * Calling {@link Iterator#hasNext()} on a generated iterator from the returned iterable may cause
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * <p>After execution begins on a thread from the {@code delegate} {@link Executor}, tasks are
       * polled and executed from a task queue until there are no more tasks. The thread will not be
       * released until there are no more tasks to run.
       *
       * <p>If a task is submitted while a thread is executing tasks from the task queue, the thread
       * will not be released until that submitted task is also complete.
       *
    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)
  3. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

        // contract.
        // This is somewhat annoying, but turns out to be very fast in practice. Alternatively, we could
        // drop the contract on the method that enforces this queue like behavior since depending on it
        // is likely to be a bug anyway.
    
        // N.B. All writes to the list and the next pointers must have happened before the above
    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)
  4. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

    import java.util.NavigableMap;
    import java.util.NavigableSet;
    import java.util.Optional;
    import java.util.OptionalDouble;
    import java.util.OptionalInt;
    import java.util.OptionalLong;
    import java.util.Queue;
    import java.util.Random;
    import java.util.Set;
    import java.util.SortedMap;
    import java.util.SortedSet;
    import java.util.UUID;
    import java.util.concurrent.BlockingDeque;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 21K bytes
    - Viewed (1)
  5. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.ListIterator;
    import java.util.Locale;
    import java.util.Map;
    import java.util.NavigableMap;
    import java.util.NavigableSet;
    import java.util.Queue;
    import java.util.Random;
    import java.util.Set;
    import java.util.SortedMap;
    import java.util.SortedSet;
    import java.util.UUID;
    import java.util.concurrent.BlockingDeque;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Iterators.java

          queue = new PriorityQueue<>(2, heapComparator);
    
          for (Iterator<? extends T> iterator : iterators) {
            if (iterator.hasNext()) {
              queue.add(Iterators.peekingIterator(iterator));
            }
          }
        }
    
        @Override
        public boolean hasNext() {
          return !queue.isEmpty();
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      //   so that it looks like we timed out even though we didn't. For comparison FutureTask respects
      //   completion preferably and AQS is non-deterministic (depends on where in the queue the waiter
      //   is). If we wanted to be strict about it, we could store the unpark() time in the Waiter node
      //   and we could use that to make a decision about whether or not we timed out prior to being
      //   unparked.
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Static utility methods pertaining to {@link Set} instances. Also see this class's counterparts
     * {@link Lists}, {@link Maps} and {@link Queues}.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/CollectionUtilitiesExplained#sets">{@code Sets}</a>.
     *
     * @author Kevin Bourrillion
     * @author Jared Levy
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Maps.java

    /**
     * Static utility methods pertaining to {@link Map} instances (including instances of {@link
     * SortedMap}, {@link BiMap}, etc.). Also see this class's counterparts {@link Lists}, {@link Sets}
     * and {@link Queues}.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/CollectionUtilitiesExplained#maps">{@code Maps}</a>.
     *
     * @author Kevin Bourrillion
     * @author Mike Bostock
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top