Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for occurrencesLeft (0.16 sec)

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

          if (occurrencesLeft == 0) {
            currentEntry = entryIterator.next();
            occurrencesLeft = currentEntry.getValue().get();
          }
          occurrencesLeft--;
          canRemove = true;
          /*
           * requireNonNull is safe because occurrencesLeft starts at 0, forcing us to initialize
           * currentEntry above. After that, we never clear it.
           */
          return requireNonNull(currentEntry).getKey();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top