Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for valuesIterator (0.08 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-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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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. guava/src/com/google/common/collect/LinkedHashMultimap.java

      @Override
      Spliterator<Entry<K, V>> entrySpliterator() {
        return Spliterators.spliterator(entries(), Spliterator.DISTINCT | Spliterator.ORDERED);
      }
    
      @Override
      Iterator<V> valueIterator() {
        return Maps.valueIterator(entryIterator());
      }
    
      @Override
      Spliterator<V> valueSpliterator() {
        return CollectSpliterators.map(entrySpliterator(), Entry::getValue);
      }
    
      @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)
  10. android/guava/src/com/google/common/collect/ImmutableMultimap.java

        return (ImmutableCollection<V>) super.values();
      }
    
      @Override
      ImmutableCollection<V> createValues() {
        return new Values<>(this);
      }
    
      @Override
      UnmodifiableIterator<V> valueIterator() {
        return new UnmodifiableIterator<V>() {
          Iterator<? extends ImmutableCollection<V>> valueCollectionItr = map.values().iterator();
          Iterator<V> valueItr = emptyIterator();
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top