Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for distinctElements (0.12 sec)

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

      @Override
      public void clear() {
        for (Count frequency : backingMap.values()) {
          frequency.set(0);
        }
        backingMap.clear();
        size = 0L;
      }
    
      @Override
      int distinctElements() {
        return backingMap.size();
      }
    
      // Optimizations - Query Operations
    
      @Override
      public int size() {
        return Ints.saturatedCast(size);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

      /** @deprecated Internal method, use {@link #entrySet()}. */
      @Deprecated
      @Override
      public Set<Multiset.Entry<E>> createEntrySet() {
        return new EntrySet();
      }
    
      @Override
      int distinctElements() {
        return countMap.size();
      }
    
      @Override
      public boolean isEmpty() {
        return countMap.isEmpty();
      }
    
      @Override
      Iterator<Entry<E>> entryIterator() {
    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