Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for valuesIterator (0.14 seconds)

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

        Collection<V> result = values;
        return (result == null) ? values = createValues() : result;
      }
    
      Collection<V> createValues() {
        return new Values();
      }
    
      Iterator<V> valuesIterator() {
        return new TransformedIterator<Cell<R, C, V>, V>(cellSet().iterator()) {
          @Override
          @ParametricNullness
          V transform(Cell<R, C, V> cell) {
            return cell.getValue();
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  2. 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
          protected @Nullable V get(int index) {
            return getValue(index);
          }
        };
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.9K bytes
    - Click Count (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();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  4. android/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();
    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)
  5. 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();
    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)
  6. 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();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  7. 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>() {
          final Iterator<? extends ImmutableCollection<V>> valueCollectionItr = map.values().iterator();
          Iterator<V> valueItr = emptyIterator();
    
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 28.1K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/MapMakerInternalMap.java

        }
      }
    
      final class KeyIterator extends HashIterator<K> {
    
        @Override
        public K next() {
          return nextEntry().getKey();
        }
      }
    
      final class ValueIterator extends HashIterator<V> {
    
        @Override
        public V next() {
          return nextEntry().getValue();
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        }
      }
    
      final class KeyIterator extends HashIterator<K> {
    
        @Override
        public K next() {
          return nextEntry().getKey();
        }
      }
    
      final class ValueIterator extends HashIterator<V> {
    
        @Override
        public V next() {
          return nextEntry().getValue();
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Maps.java

          @ParametricNullness
          K transform(Entry<K, V> entry) {
            return entry.getKey();
          }
        };
      }
    
      static <K extends @Nullable Object, V extends @Nullable Object> Iterator<V> valueIterator(
          Iterator<Entry<K, V>> entryIterator) {
        return new TransformedIterator<Entry<K, V>, V>(entryIterator) {
          @Override
          @ParametricNullness
          V transform(Entry<K, V> entry) {
    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