- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 497 for Iterators (0.09 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
assertFalse(list.contains("chicken")); assertEquals(-1, list.indexOf("chicken")); assertEquals(-1, list.lastIndexOf("chicken")); } private static <E> Iterator<E> asIterator(E... elements) { return asList(elements).iterator(); } // In GWT, java.util.TreeSet throws ClassCastException when the comparator // throws it, unlike the JDK. Therefore, we accept ClassCastException as a
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
void constructorOpenNullCloses() throws Exception { // Arrange stubAcquireReturnsSelf(); List<FileEntry[]> pages = List.of(new FileEntry[][] { new FileEntry[] {} }); // Create iterator where open() returns null by giving null initial TestIterator it = TestIterator.create(tree, parent, "*", null, 0, null, pages); // Assert
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
import com.google.common.collect.testing.features.CollectionSize; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.NavigableSet; import java.util.TreeSet; import org.junit.Ignore; /** * A generic JUnit test which tests operations on a NavigableSet. Can't be invoked directly; please
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 8.5K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
} @Override public Spliterator.OfInt spliterator() { return parent.spliterator(); } @Override public PrimitiveIterator.OfInt iterator() { return Spliterators.iterator(spliterator()); } @Override public boolean equals(@Nullable Object object) { if (object instanceof AsList) { AsList that = (AsList) object;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 21.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/DoubleMathTest.java
assertThat(DoubleMath.mean(ImmutableList.of(11, -22, 44, -88).iterator())) .isWithin(1.0e-10) .of(-13.75); assertThat(DoubleMath.mean(ImmutableList.of(11).iterator())).isWithin(1.0e-10).of(11); assertThrows( IllegalArgumentException.class, () -> DoubleMath.mean(ImmutableList.<Integer>of().iterator())); } @GwtIncompatible // DoubleMath.mean
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 30 14:15:36 UTC 2025 - 27.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableList.java
return new RegularImmutableList<>(elementsWithoutTrailingNulls); } } ImmutableList() {} // This declaration is needed to make List.iterator() and // ImmutableCollection.iterator() consistent. @Override public UnmodifiableIterator<E> iterator() { return listIterator(); } @Override public UnmodifiableListIterator<E> listIterator() { return listIterator(0); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 30.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java
*/ package com.google.common.collect.testing; import com.google.common.annotations.GwtCompatible; /** * A generator that relies on a preexisting generator for most of its work. For example, a derived * iterator generator may delegate the work of creating the underlying collection to an inner * collection generator. * * <p>{@code GwtTestSuiteGenerator} expects every {@code DerivedIterator} implementation to provideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 1.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java
*/ package com.google.common.collect.testing; import com.google.common.annotations.GwtCompatible; /** * A generator that relies on a preexisting generator for most of its work. For example, a derived * iterator generator may delegate the work of creating the underlying collection to an inner * collection generator. * * <p>{@code GwtTestSuiteGenerator} expects every {@code DerivedIterator} implementation to provideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 1.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
List<Predicate<Object>> list = new ArrayList<>(); Iterable<Predicate<Object>> iterable = new Iterable<Predicate<Object>>() { @Override public Iterator<Predicate<Object>> iterator() { return list.iterator(); } }; Predicate<Object> predicate = Predicates.and(iterable); assertTrue(predicate.apply(1)); list.add(Predicates.alwaysFalse());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 32.3K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Case.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Dec 23 10:26:25 UTC 2023 - 1.3K bytes - Viewed (0)