Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setCountImpl (0.11 sec)

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

       * forward to this implementation.
       *
       * @since 7.0
       */
      protected int standardSetCount(@ParametricNullness E element, int count) {
        return Multisets.setCountImpl(this, element, count);
      }
    
      /**
       * A sensible definition of {@link #setCount(Object, int, int)} in terms of {@link #count(Object)}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ForwardingMultiset.java

       * forward to this implementation.
       *
       * @since 7.0
       */
      protected int standardSetCount(@ParametricNullness E element, int count) {
        return Multisets.setCountImpl(this, element, count);
      }
    
      /**
       * A sensible definition of {@link #setCount(Object, int, int)} in terms of {@link #count(Object)}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multisets.java

                : elementsToRetain;
    
        return self.elementSet().retainAll(collection);
      }
    
      /** An implementation of {@link Multiset#setCount(Object, int)}. */
      static <E extends @Nullable Object> int setCountImpl(
          Multiset<E> self, @ParametricNullness E element, int count) {
        checkNonnegative(count, "count");
    
        int oldCount = self.count(element);
    
        int delta = count - oldCount;
        if (delta > 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Multisets.java

                : elementsToRetain;
    
        return self.elementSet().retainAll(collection);
      }
    
      /** An implementation of {@link Multiset#setCount(Object, int)}. */
      static <E extends @Nullable Object> int setCountImpl(
          Multiset<E> self, @ParametricNullness E element, int count) {
        checkNonnegative(count, "count");
    
        int oldCount = self.count(element);
    
        int delta = count - oldCount;
        if (delta > 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
Back to top