Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for target (0.16 sec)

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

            return backingMap.getEntry(entryIndex);
          }
        };
      }
    
      /** Allocation-free implementation of {@code target.addAll(this)}. */
      void addTo(Multiset<? super E> target) {
        checkNotNull(target);
        for (int i = backingMap.firstIndex(); i >= 0; i = backingMap.nextIndex(i)) {
          target.add(backingMap.getKey(i), backingMap.getValue(i));
        }
      }
    
      @Override
      final int distinctElements() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

      /*
       * Cache the size for efficiency. Using a long lets us avoid the need for
       * overflow checking and ensures that size() will function correctly even if
       * the multiset had once been larger than Integer.MAX_VALUE.
       */
      private transient long size;
    
      /** Standard constructor. */
      protected AbstractMapBasedMultiset(Map<E, Count> backingMap) {
        checkArgument(backingMap.isEmpty());
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 10.4K bytes
    - Viewed (0)
Back to top