Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for Workers (0.19 sec)

  1. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

      /**
       * This counter prevents an ABA issue where a thread may successfully schedule the worker, the
       * worker runs and exhausts the queue, another thread enqueues a task and fails to schedule the
       * worker, and then the first thread's call to delegate.execute() returns. Without this counter,
       * it would observe the QUEUING state and set it to QUEUED, and the worker would never be
       * scheduled again for future submissions.
       */
      @GuardedBy("queue")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/SortedMultiset.java

    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public interface SortedMultiset<E extends @Nullable Object>
        extends SortedMultisetBridge<E>, SortedIterable<E> {
      /**
       * Returns the comparator that orders this multiset, or {@link Ordering#natural()} if the natural
       * ordering of the elements is used.
       */
      @Override
      Comparator<? super E> comparator();
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/NetworkBuilder.java

     * user-defined properties.
     *
     * <p>A {@code Network} built by this class has the following default properties:
     *
     * <ul>
     *   <li>does not allow parallel edges
     *   <li>does not allow self-loops
     *   <li>orders {@link Network#nodes()} and {@link Network#edges()} in the order in which the
     *       elements were added (insertion order)
     * </ul>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 7.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      }
    
      final transient Comparator<? super E> comparator;
    
      ImmutableSortedSet(Comparator<? super E> comparator) {
        this.comparator = comparator;
      }
    
      /**
       * Returns the comparator that orders the elements, which is {@link Ordering#natural()} when the
       * natural ordering of the elements is used. Note that its behavior is not consistent with {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        return valueList;
      }
    
      @Override
      ImmutableCollection<V> createValues() {
        throw new AssertionError("should never be called");
      }
    
      /**
       * Returns the comparator that orders the keys, which is {@link Ordering#natural()} when the
       * natural ordering of the keys is used. Note that its behavior is not consistent with {@link
       * TreeMap#comparator()}, which returns {@code null} to indicate natural ordering.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/EvictingQueue.java

    import java.util.Collection;
    import java.util.Queue;
    
    /**
     * A non-blocking queue which automatically evicts elements from the head of the queue when
     * attempting to add new elements onto the queue and it is full. This queue orders elements FIFO
     * (first-in-first-out). This data structure is logically equivalent to a circular buffer (i.e.,
     * cyclic buffer or ring buffer).
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 17:52:55 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/SortedSetMultimap.java

       * MultimapBuilder#treeKeys()}, may make additional guarantees.
       */
      @Override
      Map<K, Collection<V>> asMap();
    
      /**
       * Returns the comparator that orders the multimap values, with {@code null} indicating that
       * natural ordering is used.
       */
      @CheckForNull
      Comparator<? super V> valueComparator();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 5.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeMultimap.java

        if (key == null) {
          int unused = keyComparator().compare(key, key);
        }
        return super.createCollection(key);
      }
    
      /**
       * Returns the comparator that orders the multimap keys.
       *
       * @deprecated Use {@code ((NavigableSet<K>) multimap.keySet()).comparator()} instead.
       */
      @Deprecated
      public Comparator<? super K> keyComparator() {
        return keyComparator;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSortedMap.java

        return valueList;
      }
    
      @Override
      ImmutableCollection<V> createValues() {
        throw new AssertionError("should never be called");
      }
    
      /**
       * Returns the comparator that orders the keys, which is {@link Ordering#natural()} when the
       * natural ordering of the keys is used. Note that its behavior is not consistent with {@link
       * TreeMap#comparator()}, which returns {@code null} to indicate natural ordering.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ByFunctionOrdering.java

    import com.google.common.base.Objects;
    import java.io.Serializable;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An ordering that orders elements by applying an order to the result of a function on those
     * elements.
     */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Jun 20 14:22:42 GMT 2021
    - 2.3K bytes
    - Viewed (0)
Back to top