Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkPositive (0.09 sec)

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

      @CanIgnoreReturnValue
      @Override
      public int add(E element, int occurrences) {
        checkNotNull(element);
        if (occurrences == 0) {
          return count(element);
        }
        CollectPreconditions.checkPositive(occurrences, "occurrences");
    
        while (true) {
          AtomicInteger existingCounter = safeGet(countMap, element);
          if (existingCounter == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top