Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for synchronizedQueue (0.06 seconds)

  1. guava/src/com/google/common/collect/Queues.java

       *
       * <p>It is imperative that the user manually synchronize on the returned queue when accessing the
       * queue's iterator:
       *
       * {@snippet :
       * Queue<E> queue = Queues.synchronizedQueue(MinMaxPriorityQueue.<E>create());
       * ...
       * queue.add(element);  // Needn't be in synchronized block
       * ...
       * synchronized (queue) {  // Must synchronize on queue!
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Nov 04 17:24:58 GMT 2025
    - 18K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Queues.java

       *
       * <p>It is imperative that the user manually synchronize on the returned queue when accessing the
       * queue's iterator:
       *
       * {@snippet :
       * Queue<E> queue = Queues.synchronizedQueue(MinMaxPriorityQueue.<E>create());
       * ...
       * queue.add(element);  // Needn't be in synchronized block
       * ...
       * synchronized (queue) {  // Must synchronize on queue!
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Nov 04 17:24:58 GMT 2025
    - 18.2K bytes
    - Click Count (0)
Back to Top