Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for entrySpliterator (0.07 sec)

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

      }
    
      @Override
      UnmodifiableIterator<Entry<K, V>> entryIterator() {
        return Maps.unmodifiableEntryIterator(delegate.entrySet().iterator());
      }
    
      @Override
      Spliterator<Entry<K, V>> entrySpliterator() {
        return CollectSpliterators.map(delegate.entrySet().spliterator(), Maps::unmodifiableEntry);
      }
    
      @Override
      public void forEach(BiConsumer<? super K, ? super V> action) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Multisets.java

        Spliterator<Entry<E>> entrySpliterator = multiset.entrySet().spliterator();
        return CollectSpliterators.flatMap(
            entrySpliterator,
            (Entry<E> entry) -> Collections.nCopies(entry.getCount(), entry.getElement()).spliterator(),
            Spliterator.SIZED
                | (entrySpliterator.characteristics()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Maps.java

          set.clear();
        }
    
        @Override
        Iterator<Entry<K, V>> entryIterator() {
          return asMapEntryIterator(set, function);
        }
    
        @Override
        Spliterator<Entry<K, V>> entrySpliterator() {
          return CollectSpliterators.map(set.spliterator(), e -> immutableEntry(e, function.apply(e)));
        }
    
        @Override
        public void forEach(BiConsumer<? super K, ? super V> action) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMap.java

      abstract static class IteratorBasedImmutableMap<K, V> extends ImmutableMap<K, V> {
        abstract UnmodifiableIterator<Entry<K, V>> entryIterator();
    
        Spliterator<Entry<K, V>> entrySpliterator() {
          return Spliterators.spliterator(
              entryIterator(),
              size(),
              Spliterator.DISTINCT | Spliterator.NONNULL | Spliterator.IMMUTABLE | Spliterator.ORDERED);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
Back to top