Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for distinctElements (0.14 sec)

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

            newTop.right = right;
            newTop.distinctElements = distinctElements - 1;
            newTop.totalCount = totalCount - oldElemCount;
            return newTop.rebalance();
          } else {
            AvlNode<E> newTop = succ();
            newTop.right = right.removeMin(newTop);
            newTop.left = left;
            newTop.distinctElements = distinctElements - 1;
            newTop.totalCount = totalCount - oldElemCount;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeMultiset.java

            newTop.right = right;
            newTop.distinctElements = distinctElements - 1;
            newTop.totalCount = totalCount - oldElemCount;
            return newTop.rebalance();
          } else {
            AvlNode<E> newTop = succ();
            newTop.right = right.removeMin(newTop);
            newTop.left = left;
            newTop.distinctElements = distinctElements - 1;
            newTop.totalCount = totalCount - oldElemCount;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

                }
              };
            }
          };
        }
    
        @Override
        public Iterator<E> iterator() {
          return Multisets.iteratorImpl(this);
        }
    
        @Override
        int distinctElements() {
          return backingMap.size();
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

                }
              };
            }
          };
        }
    
        @Override
        public Iterator<E> iterator() {
          return Multisets.iteratorImpl(this);
        }
    
        @Override
        int distinctElements() {
          return backingMap.size();
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. 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)
  6. android/guava/src/com/google/common/collect/Multisets.java

                    return immutableEntry(element, count);
                  }
                }
                return endOfData();
              }
            };
          }
    
          @Override
          int distinctElements() {
            return Iterators.size(entryIterator());
          }
        };
      }
    
      /**
       * Returns {@code true} if {@code subMultiset.count(o) <= superMultiset.count(o)} for all {@code
       * o}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Multisets.java

                    return immutableEntry(element, count);
                  }
                }
                return endOfData();
              }
            };
          }
    
          @Override
          int distinctElements() {
            return Iterators.size(entryIterator());
          }
        };
      }
    
      /**
       * Returns {@code true} if {@code subMultiset.count(o) <= superMultiset.count(o)} for all {@code
       * o}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  8. 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)
  9. android/guava/src/com/google/common/collect/Multimaps.java

                public int getCount() {
                  return backingEntry.getValue().size();
                }
              };
            }
          };
        }
    
        @Override
        int distinctElements() {
          return multimap.asMap().size();
        }
    
        @Override
        public int size() {
          return multimap.size();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
Back to top