- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 46 for spliterator (0.08 sec)
-
guava/src/com/google/common/collect/ImmutableMap.java
abstract UnmodifiableIterator<Entry<K, V>> entryIterator(); Spliterator<Entry<K, V>> entrySpliterator() { return Spliterators.spliterator( entryIterator(), size(), Spliterator.DISTINCT | Spliterator.NONNULL | Spliterator.IMMUTABLE | Spliterator.ORDERED); } @Override ImmutableSet<K> createKeySet() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 44.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java
for (Entry<String, Integer> entry : expectedEntries) { multimap.put(entry.getKey(), entry.getValue()); } List<String> actualKeys = new ArrayList<>(); multimap.keys().spliterator().forEachRemaining(actualKeys::add); assertThat(actualKeys) .containsExactlyElementsIn(transform(expectedEntries, Entry::getKey)) .inOrder(); } public void testEntriesSpliterator() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Longs.java
/* * This is an override that is not directly visible to callers, so NewApi will catch calls to * Collection.spliterator() where necessary. */ @IgnoreJRERequirement public Spliterator.OfLong spliterator() { return Spliterators.spliterator(array, start, end, 0); } @Override public boolean contains(@CheckForNull Object target) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 29.3K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Doubles.java
/* * This is an override that is not directly visible to callers, so NewApi will catch calls to * Collection.spliterator() where necessary. */ @IgnoreJRERequirement public Spliterator.OfDouble spliterator() { return Spliterators.spliterator(array, start, end, 0); } @Override public boolean contains(@CheckForNull Object target) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 28.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.4K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Doubles.java
} @Override public Double get(int index) { checkElementIndex(index, size()); return array[start + index]; } @Override public Spliterator.OfDouble spliterator() { return Spliterators.spliterator(array, start, end, 0); } @Override public boolean contains(@CheckForNull Object target) { // Overridden to prevent a ton of boxing
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:52:18 UTC 2024 - 27.9K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Longs.java
} @Override public Long get(int index) { checkElementIndex(index, size()); return array[start + index]; } @Override public Spliterator.OfLong spliterator() { return Spliterators.spliterator(array, start, end, 0); } @Override public boolean contains(@CheckForNull Object target) { // Overridden to prevent a ton of boxing
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:52:18 UTC 2024 - 29K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
@Override public abstract int size(); abstract Iterator<Entry<K, V>> entryIterator(); Spliterator<Entry<K, V>> entrySpliterator() { return Spliterators.spliterator( entryIterator(), size(), Spliterator.SIZED | Spliterator.DISTINCT); } @Override public Set<Entry<K, V>> entrySet() { return new EntrySet<K, V>() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 167.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multiset.java
int count = entry.getCount(); for (int i = 0; i < count; i++) { action.accept(elem); } }); } @Override default Spliterator<E> spliterator() { return Multisets.spliteratorImpl(this); }
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/ImmutableList.java
*/ @InlineMe(replacement = "this") @Deprecated @Override public final ImmutableList<E> asList() { return this; } @Override public Spliterator<E> spliterator() { return CollectSpliterators.indexed(size(), SPLITERATOR_CHARACTERISTICS, this::get); } @Override int copyIntoArray(@Nullable Object[] dst, int offset) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 16 19:14:45 UTC 2024 - 30.5K bytes - Viewed (0)