- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 118 for Action (0.22 sec)
-
guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
super(spliterator); } @Override void forEachRemaining(Consumer<? super E> action) { spliterator.forEachRemaining(action); } @Override boolean tryAdvance(Consumer<? super E> action) { return spliterator.tryAdvance(action); } @Override @Nullable GeneralSpliterator<E> trySplit() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 18:19:31 GMT 2024 - 11.9K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
Method method = TwoArg.class.getMethod("normalNormal", String.class, Integer.class); for (TwoArg.Action first : TwoArg.Action.values()) { for (TwoArg.Action second : TwoArg.Action.values()) { TwoArg bar = new TwoArg(first, second); if (first.equals(TwoArg.Action.THROW_A_NPE) && second.equals(TwoArg.Action.THROW_A_NPE)) { verifyBarPass(method, bar); // require both params to throw NPE } else {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 47.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMapValues.java
return super.writeReplace(); } }; } @GwtIncompatible // serialization @Override public void forEach(Consumer<? super V> action) { checkNotNull(action); map.forEach((k, v) -> action.accept(v)); } // redeclare to help optimizers with b/310253115 @SuppressWarnings("RedundantOverride") @Override @J2ktIncompatible // serialization
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 3.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/JdkBackedImmutableMap.java
return new ImmutableMapEntrySet.RegularEntrySet<>(this, entries); } @Override public void forEach(BiConsumer<? super K, ? super V> action) { checkNotNull(action); entries.forEach(e -> action.accept(e.getKey(), e.getValue())); } @Override ImmutableSet<K> createKeySet() { return new ImmutableMapKeySet<>(this); } @Override
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 4.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/Collections2.java
return CollectSpliterators.filter(unfiltered.spliterator(), predicate); } @Override public void forEach(Consumer<? super E> action) { checkNotNull(action); unfiltered.forEach( (E e) -> { if (predicate.test(e)) { action.accept(e); } }); } @Override public boolean remove(@CheckForNull Object element) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 23.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/HashBiMap.java
} } }; } @Override public void forEach(BiConsumer<? super K, ? super V> action) { checkNotNull(action); for (BiEntry<K, V> entry = firstInKeyInsertionOrder; entry != null; entry = entry.nextInKeyInsertionOrder) { action.accept(entry.key, entry.value); } } @Override
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Oct 13 14:11:58 GMT 2023 - 24.5K bytes - Viewed (0) -
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) -
guava/src/com/google/common/collect/ImmutableEnumSet.java
} @Override public Spliterator<E> spliterator() { return delegate.spliterator(); } @Override public void forEach(Consumer<? super E> action) { delegate.forEach(action); } @Override public int size() { return delegate.size(); } @Override public boolean contains(@CheckForNull Object object) { return delegate.contains(object); }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 4.5K bytes - Viewed (0) -
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) -
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)