Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for elementIterator (0.11 sec)

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

          checkArgument(occurrences <= Integer.MAX_VALUE - frequency);
          backingMap.put(element, frequency + occurrences);
          return frequency;
        }
    
        @Override
        Iterator<E> elementIterator() {
          return Multisets.elementIterator(entryIterator());
        }
    
        @Override
        Iterator<Entry<E>> entryIterator() {
          final Iterator<Map.Entry<E, Integer>> backingEntries = backingMap.entrySet().iterator();
    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/src/com/google/common/collect/Multisets.java

        }
    
        @Override
        Set<E> createElementSet() {
          return Sets.filter(unfiltered.elementSet(), predicate);
        }
    
        @Override
        Iterator<E> elementIterator() {
          throw new AssertionError("should never be called");
        }
    
        @Override
        Set<Entry<E>> createEntrySet() {
          return Sets.filter(
              unfiltered.entrySet(),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Multisets.java

        }
    
        @Override
        Set<E> createElementSet() {
          return Sets.filter(unfiltered.elementSet(), predicate);
        }
    
        @Override
        Iterator<E> elementIterator() {
          throw new AssertionError("should never be called");
        }
    
        @Override
        Set<Entry<E>> createEntrySet() {
          return Sets.filter(
              unfiltered.entrySet(),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

          checkArgument(occurrences <= Integer.MAX_VALUE - frequency);
          backingMap.put(element, frequency + occurrences);
          return frequency;
        }
    
        @Override
        Iterator<E> elementIterator() {
          return Multisets.elementIterator(entryIterator());
        }
    
        @Override
        Iterator<Entry<E>> entryIterator() {
          final Iterator<Map.Entry<E, Integer>> backingEntries = backingMap.entrySet().iterator();
    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

       * was retrieved.
       */
      @Override
      public Set<Multiset.Entry<E>> entrySet() {
        return super.entrySet();
      }
    
      @Override
      Iterator<E> elementIterator() {
        final Iterator<Map.Entry<E, Count>> backingEntries = backingMap.entrySet().iterator();
        return new Iterator<E>() {
          @CheckForNull Map.Entry<E, Count> toRemove;
    
          @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. guava/src/com/google/common/collect/TreeMultiset.java

          }
        } else {
          node = header.pred();
        }
        return (node == header || !range.contains(node.getElement())) ? null : node;
      }
    
      @Override
      Iterator<E> elementIterator() {
        return Multisets.elementIterator(entryIterator());
      }
    
      @Override
      Iterator<Entry<E>> entryIterator() {
        return new Iterator<Entry<E>>() {
          @CheckForNull AvlNode<E> current = firstNode();
    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

          }
        } else {
          node = header.pred();
        }
        return (node == header || !range.contains(node.getElement())) ? null : node;
      }
    
      @Override
      Iterator<E> elementIterator() {
        return Multisets.elementIterator(entryIterator());
      }
    
      @Override
      Iterator<Entry<E>> entryIterator() {
        return new Iterator<Entry<E>>() {
          @CheckForNull AvlNode<E> current = firstNode();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

          }
    
          @Override
          public boolean removeAll(Collection<?> c) {
            return standardRemoveAll(c);
          }
        };
      }
    
      @Override
      Iterator<E> elementIterator() {
        throw new AssertionError("should never be called");
      }
    
      /** @deprecated Internal method, use {@link #entrySet()}. */
      @Deprecated
      @Override
      public Set<Multiset.Entry<E>> createEntrySet() {
    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 void clear() {
          multimap.clear();
        }
    
        @Override
        public Set<K> elementSet() {
          return multimap.keySet();
        }
    
        @Override
        Iterator<K> elementIterator() {
          throw new AssertionError("should never be called");
        }
      }
    
      /** A skeleton implementation of {@link Multimap#entries()}. */
    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