- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for forEachEntry (0.16 sec)
-
guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 10.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java
ImmutableSortedMultiset<String> multiset = ImmutableSortedMultiset.<String>naturalOrder().add("a").add("b").add("a").add("c").build(); List<Multiset.Entry<String>> entries = new ArrayList<>(); multiset.forEachEntry((e, c) -> entries.add(Multisets.immutableEntry(e, c))); assertThat(entries) .containsExactly( Multisets.immutableEntry("a", 2), Multisets.immutableEntry("b", 1),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multisets.java
private static <E extends @Nullable Object> boolean addAllImpl( Multiset<E> self, Multiset<? extends E> elements) { if (elements.isEmpty()) { return false; } elements.forEachEntry(self::add); return true; } /** An implementation of {@link Multiset#removeAll}. */ static boolean removeAllImpl(Multiset<?> self, Collection<?> elementsToRemove) { Collection<?> collection =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 41.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multiset.java
* efficient than iterating over the {@link #entrySet()} either explicitly or with {@code * entrySet().forEach(action)}. * * @since 21.0 */ default void forEachEntry(ObjIntConsumer<? super E> action) { checkNotNull(action); entrySet().forEach(entry -> action.accept(entry.getElement(), entry.getCount())); } // Comparison and hashing /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Jun 17 14:40:53 UTC 2023 - 21K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeMultiset.java
setCount(prevEntry.getElement(), 0); prevEntry = null; } }; } @Override public void forEachEntry(ObjIntConsumer<? super E> action) { checkNotNull(action); for (AvlNode<E> node = firstNode(); node != header && node != null && !range.tooHigh(node.getElement()); node = node.succ()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 34.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
return entrySpliterator(); } @Override public void forEach(Consumer<? super Entry<K, V>> action) { forEachEntry(action); } }; } void forEachEntry(Consumer<? super Entry<K, V>> action) { entryIterator().forEachRemaining(action); } @Override public void clear() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 167.4K bytes - Viewed (0) -
test-site/activator-launch-1.3.2.jar
final int seedvalue(); public final void seedvalue_$eq(int); public final int tableSizeSeed(); private HashEntry findEntry(Object); private HashEntry removeEntry(Object); public final scala.collection.Iterator entriesIterator(); public final void foreachEntry(scala.Function1); public final void nnSizeMapAdd(int); public final void nnSizeMapRemove(int); public final void nnSizeMapReset(int); public final int calcSizeMapSize(int); public final boolean elemEquals(Object, Object); public final int index(int);...
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Mon Apr 20 08:41:37 UTC 2015 - 1.2M bytes - Viewed (0)