- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for spliterator (0.07 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java
initCollectionWithNullElement(); assertFalse(collection.spliterator().hasCharacteristics(Spliterator.NONNULL)); } @CollectionFeature.Require(SUPPORTS_ADD) public void testSpliteratorNotImmutable_collectionAllowsAdd() { // If add is supported, verify that IMMUTABLE is not reported. assertFalse(collection.spliterator().hasCharacteristics(Spliterator.IMMUTABLE)); } @CollectionFeature.Require(SUPPORTS_REMOVE)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 3.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedAsList.java
return new RegularImmutableSortedSet<E>(parentSubList, comparator()).asList(); } @Override public Spliterator<E> spliterator() { return CollectSpliterators.indexed( size(), ImmutableList.SPLITERATOR_CHARACTERISTICS | Spliterator.SORTED | Spliterator.DISTINCT, delegateList()::get, comparator()); } // redeclare to help optimizers with b/310253115
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 3.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/IndexedImmutableSet.java
abstract E get(int index); @Override public UnmodifiableIterator<E> iterator() { return asList().iterator(); } @Override public Spliterator<E> spliterator() { return CollectSpliterators.indexed(size(), SPLITERATOR_CHARACTERISTICS, this::get); } @Override public void forEach(Consumer<? super E> consumer) { checkNotNull(consumer); int n = size();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 2.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMultimap.java
return Sets.equalsImpl(this, obj); } } abstract Iterator<Entry<K, V>> entryIterator(); Spliterator<Entry<K, V>> entrySpliterator() { return Spliterators.spliterator( entryIterator(), size(), (this instanceof SetMultimap) ? Spliterator.DISTINCT : 0); } @LazyInit @CheckForNull private transient Set<K> keySet; @Override public Set<K> keySet() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 21:08:00 UTC 2021 - 7.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java
initCollectionWithNullElement(); assertFalse(collection.spliterator().hasCharacteristics(Spliterator.NONNULL)); } @CollectionFeature.Require(SUPPORTS_ADD) public void testSpliteratorNotImmutable_collectionAllowsAdd() { // If add is supported, verify that IMMUTABLE is not reported. assertFalse(collection.spliterator().hasCharacteristics(Spliterator.IMMUTABLE)); } @CollectionFeature.Require(SUPPORTS_REMOVE)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableEnumMap.java
} @Override UnmodifiableIterator<K> keyIterator() { return Iterators.unmodifiableIterator(delegate.keySet().iterator()); } @Override Spliterator<K> keySpliterator() { return delegate.keySet().spliterator(); } @Override public int size() { return delegate.size(); } @Override public boolean containsKey(@CheckForNull Object key) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableSet.java
@SuppressWarnings("unchecked") @Override public UnmodifiableIterator<E> iterator() { return (UnmodifiableIterator<E>) Iterators.forArray(elements); } @Override public Spliterator<E> spliterator() { return Spliterators.spliterator(elements, SPLITERATOR_CHARACTERISTICS); } @Override Object[] internalArray() { return elements; } @Override int internalArrayStart() { return 0;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactLinkedHashSet.java
public <T extends @Nullable Object> T[] toArray(T[] a) { return ObjectArrays.toArrayImpl(this, a); } @Override public Spliterator<E> spliterator() { return Spliterators.spliterator(this, Spliterator.ORDERED | Spliterator.DISTINCT); } @Override public void clear() { if (needsAllocArrays()) { return; } this.firstEntry = ENDPOINT;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 09 00:15:47 UTC 2024 - 9.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMapEntrySet.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 4.1K bytes - Viewed (0)