Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

       * #iterator} to forward to this implementation.
       *
       * @since 7.0
       */
      protected Iterator<E> standardIterator() {
        return Multisets.iteratorImpl(this);
      }
    
      /**
       * A sensible, albeit inefficient, definition of {@link #size} in terms of {@link #entrySet}. If
       * you override {@link #entrySet}, you may wish to override {@link #size} to forward to this
    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

       * #iterator} to forward to this implementation.
       *
       * @since 7.0
       */
      protected Iterator<E> standardIterator() {
        return Multisets.iteratorImpl(this);
      }
    
      /**
       * A sensible, albeit inefficient, definition of {@link #size} in terms of {@link #entrySet}. If
       * you override {@link #entrySet}, you may wish to override {@link #size} to forward to this
    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

        @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