Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 79 for EntryIterator (0.28 seconds)

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

        @Override
        protected List<V> delegate() {
          return emptyList();
        }
      }
    
      @Override
      Iterator<Entry<K, V>> entryIterator() {
        throw new AssertionError("should never be called");
      }
    
      @Override
      Collection<Entry<K, V>> createEntries() {
        return new Entries();
      }
    
      @WeakOuter
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/StandardTable.java

        final Iterator<Map<C, V>> mapIterator = backingMap.values().iterator();
        Iterator<Entry<C, V>> entryIterator = emptyIterator();
    
        @Override
        protected @Nullable C computeNext() {
          while (true) {
            if (entryIterator.hasNext()) {
              Entry<C, V> entry = entryIterator.next();
              if (!seen.containsKey(entry.getKey())) {
                seen.put(entry.getKey(), entry.getValue());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 30.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

       *
       * <p>In particular, this map iterates over entries with repeated calls to {@link
       * NavigableMap#lowerEntry}. If a more efficient means of iteration is available, you may wish to
       * override the {@code entryIterator()} method of this class.
       *
       * @since 12.0
       */
      protected class StandardDescendingMap extends Maps.DescendingMap<K, V> {
        /** Constructor for use by subclasses. */
        public StandardDescendingMap() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 14.1K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ForwardingMap.java

       */
      protected @Nullable V standardRemove(@Nullable Object key) {
        Iterator<Entry<K, V>> entryIterator = entrySet().iterator();
        while (entryIterator.hasNext()) {
          Entry<K, V> entry = entryIterator.next();
          if (Objects.equals(entry.getKey(), key)) {
            V value = entry.getValue();
            entryIterator.remove();
            return value;
          }
        }
        return null;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Maps.java

              Iterator<Entry<K, V>> entryIterator) {
        return new UnmodifiableIterator<Entry<K, V>>() {
          @Override
          public boolean hasNext() {
            return entryIterator.hasNext();
          }
    
          @Override
          public Entry<K, V> next() {
            return unmodifiableEntry(entryIterator.next());
          }
        };
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ForwardingNavigableMap.java

       *
       * <p>In particular, this map iterates over entries with repeated calls to {@link
       * NavigableMap#lowerEntry}. If a more efficient means of iteration is available, you may wish to
       * override the {@code entryIterator()} method of this class.
       *
       * @since 12.0
       */
      protected class StandardDescendingMap extends Maps.DescendingMap<K, V> {
        /** Constructor for use by subclasses. */
        public StandardDescendingMap() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 14.3K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        Entry<String, String> firstEntry = entries.iterator().next();
        entries.remove(firstEntry);
        assertFalse(underlying.containsKey("f"));
    
        Iterator<Entry<String, String>> entryIterator = entries.iterator();
        entryIterator.next();
        entryIterator.remove();
        assertFalse(underlying.containsKey("g"));
    
        assertTrue(underlying.isEmpty());
        assertTrue(map.isEmpty());
        assertTrue(keys.isEmpty());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        @Nullable Entry<K, Collection<V>> pollAsMapEntry(
            Iterator<Entry<K, Collection<V>>> entryIterator) {
          if (!entryIterator.hasNext()) {
            return null;
          }
          Entry<K, Collection<V>> entry = entryIterator.next();
          Collection<V> output = createCollection();
          output.addAll(entry.getValue());
          entryIterator.remove();
          return immutableEntry(entry.getKey(), unmodifiableCollectionSubclass(output));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/DenseImmutableTable.java

          Integer keyIndex = keyToIndex().get(key);
          return (keyIndex == null) ? null : getValue(keyIndex);
        }
    
        @Override
        UnmodifiableIterator<Entry<K, V>> entryIterator() {
          return new AbstractIterator<Entry<K, V>>() {
            private int index = -1;
            private final int maxIndex = keyToIndex().size();
    
            @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Maps.java

              Iterator<Entry<K, V>> entryIterator) {
        return new UnmodifiableIterator<Entry<K, V>>() {
          @Override
          public boolean hasNext() {
            return entryIterator.hasNext();
          }
    
          @Override
          public Entry<K, V> next() {
            return unmodifiableEntry(entryIterator.next());
          }
        };
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
Back to Top