Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 53 for EntryIterator (0.11 sec)

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

        public V get(@CheckForNull Object key) {
          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
            @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/DenseImmutableTable.java

        public V get(@CheckForNull Object key) {
          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
            @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/LinkedHashMultimap.java

            deleteFromMultimap(valueEntry);
          }
          succeedsInValueSet(this, this);
          modCount++;
        }
      }
    
      @Override
      Iterator<Entry<K, V>> entryIterator() {
        return new Iterator<Entry<K, V>>() {
          ValueEntry<K, V> nextEntry = multimapHeaderEntry.getSuccessorInMultimap();
          @CheckForNull ValueEntry<K, V> toRemove;
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableMultimap.java

        EntryCollection(ImmutableMultimap<K, V> multimap) {
          this.multimap = multimap;
        }
    
        @Override
        public UnmodifiableIterator<Entry<K, V>> iterator() {
          return multimap.entryIterator();
        }
    
        @Override
        boolean isPartialView() {
          return multimap.isPartialView();
        }
    
        @Override
        public int size() {
          return multimap.size();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/LinkedListMultimap.java

            for (Node<K, V> node = head; node != null; node = node.next) {
              action.accept(node);
            }
          }
        }
        return new EntriesImpl();
      }
    
      @Override
      Iterator<Entry<K, V>> entryIterator() {
        throw new AssertionError("should never be called");
      }
    
      @Override
      Map<K, Collection<V>> createAsMap() {
        return new Multimaps.AsMap<>(this);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

      @Override
      int distinctElements() {
        return countMap.size();
      }
    
      @Override
      public boolean isEmpty() {
        return countMap.isEmpty();
      }
    
      @Override
      Iterator<Entry<E>> entryIterator() {
        // AbstractIterator makes this fairly clean, but it doesn't support remove(). To support
        // remove(), we create an AbstractIterator, and then use ForwardingIterator to delegate to it.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      final class ValueIterator extends HashIterator<V> {
    
        @Override
        public V next() {
          return nextEntry().getValue();
        }
      }
    
      /**
       * Custom Entry class used by EntryIterator.next(), that relays setValue changes to the underlying
       * map.
       */
      final class WriteThroughEntry extends AbstractMapEntry<K, V> {
        final K key; // non-null
        V value; // non-null
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSetMultimap.java

        }
    
        @Override
        public int size() {
          return multimap.size();
        }
    
        @Override
        public UnmodifiableIterator<Entry<K, V>> iterator() {
          return multimap.entryIterator();
        }
    
        @Override
        boolean isPartialView() {
          return false;
        }
    
        // redeclare to help optimizers with b/310253115
        @SuppressWarnings("RedundantOverride")
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/MapMakerInternalMap.java

      final class ValueIterator extends HashIterator<V> {
    
        @Override
        public V next() {
          return nextEntry().getValue();
        }
      }
    
      /**
       * Custom Entry class used by EntryIterator.next(), that relays setValue changes to the underlying
       * map.
       */
      final class WriteThroughEntry extends AbstractMapEntry<K, V> {
        final K key; // non-null
        V value; // non-null
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

        }
    
        @Override
        public int size() {
          return multimap.size();
        }
    
        @Override
        public UnmodifiableIterator<Entry<K, V>> iterator() {
          return multimap.entryIterator();
        }
    
        @Override
        boolean isPartialView() {
          return false;
        }
    
        // redeclare to help optimizers with b/310253115
        @SuppressWarnings("RedundantOverride")
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 26.2K bytes
    - Viewed (0)
Back to top