Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setCounts (0.14 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

         *
         * @return the count of {@code element} in the multiset before this call
         * @throws IllegalArgumentException if {@code count} is negative
         */
        @Override
        public int setCount(E element, int count) {
          checkNonnegative(count, "count");
          return (count == 0) ? removeAllOccurrences(element) : unbox(countMap.put(element, count));
        }
    
        /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 16.6K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

         *
         * @return the count of {@code element} in the multiset before this call
         * @throws IllegalArgumentException if {@code count} is negative
         */
        @Override
        public int setCount(E element, int count) {
          checkNonnegative(count, "count");
          return (count == 0) ? removeAllOccurrences(element) : unbox(countMap.put(element, count));
        }
    
        /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 16.6K bytes
    - Viewed (0)
Back to top