Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for valuesIterator (0.37 sec)

  1. android/guava/src/com/google/common/collect/ImmutableTable.java

      public ImmutableCollection<V> values() {
        return (ImmutableCollection<V>) super.values();
      }
    
      @Override
      abstract ImmutableCollection<V> createValues();
    
      @Override
      final Iterator<V> valuesIterator() {
        throw new AssertionError("should never be called");
      }
    
      /**
       * {@inheritDoc}
       *
       * @throws NullPointerException if {@code columnKey} is {@code null}
       */
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ArrayTable.java

       *
       * @return collection of values
       */
      @Override
      public Collection<@Nullable V> values() {
        return super.values();
      }
    
      @Override
      Iterator<@Nullable V> valuesIterator() {
        return new AbstractIndexedListIterator<@Nullable V>(size()) {
          @Override
          @CheckForNull
          protected V get(int index) {
            return getValue(index);
          }
        };
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/AbstractMultimap.java

        }
    
        @Override
        public void clear() {
          AbstractMultimap.this.clear();
        }
      }
    
      Iterator<V> valueIterator() {
        return Maps.valueIterator(entries().iterator());
      }
    
      @LazyInit @CheckForNull private transient Map<K, Collection<V>> asMap;
    
      @Override
      public Map<K, Collection<V>> asMap() {
        Map<K, Collection<V>> result = asMap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractMultimap.java

        }
    
        @Override
        public void clear() {
          AbstractMultimap.this.clear();
        }
      }
    
      Iterator<V> valueIterator() {
        return Maps.valueIterator(entries().iterator());
      }
    
      Spliterator<V> valueSpliterator() {
        return Spliterators.spliterator(valueIterator(), size(), 0);
      }
    
      @LazyInit @CheckForNull private transient Map<K, Collection<V>> asMap;
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java

        Collection<String> values = map.values();
        values.remove("4");
        assertFalse(underlying.containsKey("d"));
    
        Iterator<String> valueIterator = values.iterator();
        valueIterator.next();
        valueIterator.remove();
        assertFalse(underlying.containsKey("e"));
    
        Set<Entry<String, String>> entries = map.entrySet();
        Entry<String, String> firstEntry = entries.iterator().next();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        Collection<String> values = map.values();
        values.remove("4");
        assertFalse(underlying.containsKey("d"));
    
        Iterator<String> valueIterator = values.iterator();
        valueIterator.next();
        valueIterator.remove();
        assertFalse(underlying.containsKey("e"));
    
        Set<Entry<String, String>> entries = map.entrySet();
        Entry<String, String> firstEntry = entries.iterator().next();
    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-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        }
    
        @Override
        public void remove() {
          iterator.remove();
        }
      }
    
      /** ValueIterator build on top of EntryIterator. */
      final class ValueIterator implements Iterator<V> {
        private EntryIterator iterator;
    
        ValueIterator() {
          iterator = new EntryIterator();
        }
    
        @Override
        public boolean hasNext() {
          return iterator.hasNext();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Range.java

            return closed(set.first(), set.last());
          }
        }
        Iterator<C> valueIterator = values.iterator();
        C min = checkNotNull(valueIterator.next());
        C max = min;
        while (valueIterator.hasNext()) {
          C value = checkNotNull(valueIterator.next());
          min = Ordering.<C>natural().min(min, value);
          max = Ordering.<C>natural().max(max, value);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/FilteredMultimapValues.java

      FilteredMultimapValues(FilteredMultimap<K, V> multimap) {
        this.multimap = checkNotNull(multimap);
      }
    
      @Override
      public Iterator<V> iterator() {
        return Maps.valueIterator(multimap.entries().iterator());
      }
    
      @Override
      public boolean contains(@CheckForNull Object o) {
        return multimap.containsValue(o);
      }
    
      @Override
      public int size() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Range.java

            return closed(set.first(), set.last());
          }
        }
        Iterator<C> valueIterator = values.iterator();
        C min = checkNotNull(valueIterator.next());
        C max = min;
        while (valueIterator.hasNext()) {
          C value = checkNotNull(valueIterator.next());
          min = Ordering.<C>natural().min(min, value);
          max = Ordering.<C>natural().max(max, value);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top