Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 53 for entryIterator (0.12 sec)

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

        }
    
        @Override
        public Iterator<Entry<E>> iterator() {
          return entryIterator();
        }
    
        @Override
        public int size() {
          return distinctElements();
        }
      }
    
      Set<Entry<E>> createEntrySet() {
        return new EntrySet();
      }
    
      abstract Iterator<Entry<E>> entryIterator();
    
      abstract int distinctElements();
    
      // Object methods
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeRangeMap.java

            }
          }
          return null;
        }
    
        @Override
        public int size() {
          return entriesByLowerBound.size();
        }
    
        @Override
        Iterator<Entry<Range<K>, V>> entryIterator() {
          return entryIterable.iterator();
        }
      }
    
      @Override
      public RangeMap<K, V> subRangeMap(Range<K> subRange) {
        if (subRange.equals(Range.all())) {
          return this;
        } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

          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();
          return new UnmodifiableIterator<Multiset.Entry<E>>() {
            @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractMultiset.java

        }
    
        @Override
        public Iterator<Entry<E>> iterator() {
          return entryIterator();
        }
    
        @Override
        public int size() {
          return distinctElements();
        }
      }
    
      Set<Entry<E>> createEntrySet() {
        return new EntrySet();
      }
    
      abstract Iterator<Entry<E>> entryIterator();
    
      abstract int distinctElements();
    
      // Object methods
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       */
      public void removeAllZeros() {
        Iterator<Entry<K, AtomicLong>> entryIterator = map.entrySet().iterator();
        while (entryIterator.hasNext()) {
          Entry<K, AtomicLong> entry = entryIterator.next();
          AtomicLong atomic = entry.getValue();
          if (atomic != null && atomic.get() == 0L) {
            entryIterator.remove();
          }
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. 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());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableEnumMap.java

        }
        if (object instanceof ImmutableEnumMap) {
          object = ((ImmutableEnumMap<?, ?>) object).delegate;
        }
        return delegate.equals(object);
      }
    
      @Override
      UnmodifiableIterator<Entry<K, V>> entryIterator() {
        return Maps.unmodifiableEntryIterator(delegate.entrySet().iterator());
      }
    
      @Override
      Spliterator<Entry<K, V>> entrySpliterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TreeRangeMap.java

            }
          }
          return null;
        }
    
        @Override
        public int size() {
          return entriesByLowerBound.size();
        }
    
        @Override
        Iterator<Entry<Range<K>, V>> entryIterator() {
          return entryIterable.iterator();
        }
      }
    
      @Override
      public RangeMap<K, V> subRangeMap(Range<K> subRange) {
        if (subRange.equals(Range.all())) {
          return this;
        } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

          return backingMultiset;
        }
    
        @Override
        public SortedMultiset<E> descendingMultiset() {
          return new StandardDescendingMultiset() {
    
            @Override
            Iterator<Entry<E>> entryIterator() {
              return backingMultiset.descendingMultiset().entrySet().iterator();
            }
          };
        }
    
        @Override
        public NavigableSet<E> elementSet() {
          return new StandardElementSet();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Maps.java

              final 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());
          }
        };
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
Back to top