Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for iteratorImpl (0.08 sec)

  1. guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

                  return (frequency == null) ? 0 : frequency;
                }
              };
            }
          };
        }
    
        @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)
  2. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

                  return (frequency == null) ? 0 : frequency;
                }
              };
            }
          };
        }
    
        @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)
  3. android/guava/src/com/google/common/collect/Multisets.java

        @Override
        public void clear() {
          multiset().clear();
        }
      }
    
      /** An implementation of {@link Multiset#iterator}. */
      static <E extends @Nullable Object> Iterator<E> iteratorImpl(Multiset<E> multiset) {
        return new MultisetIteratorImpl<>(multiset, multiset.entrySet().iterator());
      }
    
      static final class MultisetIteratorImpl<E extends @Nullable Object> implements Iterator<E> {
    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

        @Override
        public void clear() {
          multiset().clear();
        }
      }
    
      /** An implementation of {@link Multiset#iterator}. */
      static <E extends @Nullable Object> Iterator<E> iteratorImpl(Multiset<E> multiset) {
        return new MultisetIteratorImpl<>(multiset, multiset.entrySet().iterator());
      }
    
      static final class MultisetIteratorImpl<E extends @Nullable Object> implements Iterator<E> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

            ConcurrentHashMultiset.this.setCount(last.getElement(), 0);
            last = null;
          }
        };
      }
    
      @Override
      public Iterator<E> iterator() {
        return Multisets.iteratorImpl(this);
      }
    
      @Override
      public void clear() {
        countMap.clear();
      }
    
      @WeakOuter
      private class EntrySet extends AbstractMultiset<E>.EntrySet {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/TreeMultiset.java

            node = node.succ()) {
          action.accept(node.getElement(), node.getCount());
        }
      }
    
      @Override
      public Iterator<E> iterator() {
        return Multisets.iteratorImpl(this);
      }
    
      @Override
      public SortedMultiset<E> headMultiset(@ParametricNullness E upperBound, BoundType boundType) {
        return new TreeMultiset<>(
            rootReference,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/TreeMultiset.java

            setCount(prevEntry.getElement(), 0);
            prevEntry = null;
          }
        };
      }
    
      @Override
      public Iterator<E> iterator() {
        return Multisets.iteratorImpl(this);
      }
    
      @Override
      public SortedMultiset<E> headMultiset(@ParametricNullness E upperBound, BoundType boundType) {
        return new TreeMultiset<>(
            rootReference,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top