Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 127 for Action (0.18 sec)

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

            backingEntries.remove();
            toRemove = null;
          }
        };
      }
    
      @Override
      public void forEachEntry(ObjIntConsumer<? super E> action) {
        checkNotNull(action);
        backingMap.forEach((element, count) -> action.accept(element, count.get()));
      }
    
      @Override
      public void clear() {
        for (Count frequency : backingMap.values()) {
          frequency.set(0);
        }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CollectSpliterators.java

          }
    
          @Override
          public boolean tryAdvance(Consumer<? super T> action) {
            return delegate.tryAdvance((IntConsumer) i -> action.accept(function.apply(i)));
          }
    
          @Override
          public void forEachRemaining(Consumer<? super T> action) {
            delegate.forEachRemaining((IntConsumer) i -> action.accept(function.apply(i)));
          }
    
          @Override
          @CheckForNull
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 15:21:23 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/EnumMultiset.java

              }
            };
          }
        };
      }
    
      @Override
      public void forEachEntry(ObjIntConsumer<? super E> action) {
        checkNotNull(action);
        for (int i = 0; i < enumConstants.length; i++) {
          if (counts[i] > 0) {
            action.accept(enumConstants[i], counts[i]);
          }
        }
      }
    
      @Override
      public Iterator<E> iterator() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java

         * didn't see that discussed in the review, which included many other
         * changes: http://goo.gl/okTTdr
         *
         * TODO(cpovirk): decide what the best long-term action here is: force users
         * to suppress (as we do now), stop testing entrySet().add() at all, make
         * entrySet().add() tests tolerant of either behavior, introduce a map
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedMap.java

      @Override
      public int size() {
        return valueList.size();
      }
    
      @Override
      public void forEach(BiConsumer<? super K, ? super V> action) {
        checkNotNull(action);
        ImmutableList<K> keyList = keySet.asList();
        for (int i = 0; i < size(); i++) {
          action.accept(keyList.get(i), valueList.get(i));
        }
      }
    
      @Override
      @CheckForNull
      public V get(@CheckForNull Object key) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java

         * didn't see that discussed in the review, which included many other
         * changes: http://goo.gl/okTTdr
         *
         * TODO(cpovirk): decide what the best long-term action here is: force users
         * to suppress (as we do now), stop testing entrySet().add() at all, make
         * entrySet().add() tests tolerant of either behavior, introduce a map
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMultimap.java

            size());
      }
    
      @Override
      public void forEach(BiConsumer<? super K, ? super V> action) {
        checkNotNull(action);
        asMap()
            .forEach(
                (key, valueCollection) -> valueCollection.forEach(value -> action.accept(key, value)));
      }
    
      /**
       * Returns an immutable multiset containing all the keys in this multimap, in the same order and
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 25.6K bytes
    - Viewed (0)
  8. .github/workflows/gradle-wrapper-validation.yml

    on: [push, pull_request]
    
    permissions:
      contents: read
    
    jobs:
      validation:
        name: "Validation"
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 16:57:01 GMT 2024
    - 348 bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableMapEntrySet.java

        }
    
        @Override
        public Spliterator<Entry<K, V>> spliterator() {
          return entries.spliterator();
        }
    
        @Override
        public void forEach(Consumer<? super Entry<K, V>> action) {
          entries.forEach(action);
        }
    
        @Override
        ImmutableList<Entry<K, V>> createAsList() {
          return new RegularImmutableAsList<>(this, entries);
        }
    
        // redeclare to help optimizers with b/310253115
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Service.java

       * State#NEW new}, it is {@linkplain State#TERMINATED terminated} without having been started nor
       * stopped. If the service has already been stopped, this method returns immediately without
       * taking action.
       *
       * @return this
       * @since 15.0
       */
      @CanIgnoreReturnValue
      Service stopAsync();
    
      /**
       * Waits for the {@link Service} to reach the {@linkplain State#RUNNING running state}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 10.7K bytes
    - Viewed (0)
Back to top