- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 431 for Iterable (0.05 sec)
-
android/guava/src/com/google/common/collect/SortedIterable.java
import org.jspecify.annotations.Nullable; /** * An {@code Iterable} whose elements are sorted relative to a {@code Comparator}, typically * provided at creation time. * * @author Louis Wasserman */ @GwtCompatible interface SortedIterable<T extends @Nullable Object> extends Iterable<T> { /** * Returns the {@code Comparator} by which the elements of this iterable are ordered, or {@codeRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/SortedIterable.java
import org.jspecify.annotations.Nullable; /** * An {@code Iterable} whose elements are sorted relative to a {@code Comparator}, typically * provided at creation time. * * @author Louis Wasserman */ @GwtCompatible interface SortedIterable<T extends @Nullable Object> extends Iterable<T> { /** * Returns the {@code Comparator} by which the elements of this iterable are ordered, or {@codeRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
} /** * This Iterator claims to have more elements than the underlying iterable, but when you try to * fetch the extra elements, it throws an unchecked exception. */ static class ThrowsAtEndIterator<E> implements Iterator<E> { Iterator<E> iterator; public ThrowsAtEndIterator(Iterable<E> iterable) { this.iterator = iterable.iterator(); } @Override public boolean hasNext() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
CountingIterable iterable = new CountingIterable(); List<String> list = ImmutableList.copyOf(iterable); assertEquals(asList("a", "b", "a"), list); } public void testCopyOf_plainIterable_iteratesOnce() { CountingIterable iterable = new CountingIterable(); ImmutableList<String> unused = ImmutableList.copyOf(iterable); assertEquals(1, iterable.count); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 23.6K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild/jvm/argumentproviders/CiEnvironmentProvider.kt
private val toolchainInstallationPaths = test.project.toolchainInstallationPaths @Internal override fun getName() = "ciEnvironment" override fun asArguments(): Iterable<String> { return if (BuildEnvironment.isCiServer) { getRepoMirrorSystemProperties() + getToolchainInstallationPathsProperty() + mapOf(Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Aug 19 10:37:27 UTC 2025 - 2.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java
} @Override public Iterable<V> order(List<V> insertionOrder) { K k = ((TestMultimapGenerator<K, V, M>) multimapGenerator.getInnerGenerator()) .sampleKeys() .e0(); List<Entry<K, V>> entries = new ArrayList<>(); for (V v : insertionOrder) { entries.add(mapEntry(k, v)); } Iterable<Entry<K, V>> ordered = multimapGenerator.order(entries);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 26.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterators.java
* Returns an iterator that cycles indefinitely over the elements of {@code iterable}. * * <p>The returned iterator supports {@code remove()} if the provided iterator does. After {@code * remove()} is called, subsequent cycles omit the removed element, which is no longer in {@code * iterable}. The iterator's {@code hasNext()} method returns {@code true} until {@code iterable} * is empty. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 12:42:11 UTC 2025 - 51.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
} /** * This Iterator claims to have more elements than the underlying iterable, but when you try to * fetch the extra elements, it throws an unchecked exception. */ static class ThrowsAtEndIterator<E> implements Iterator<E> { Iterator<E> iterator; public ThrowsAtEndIterator(Iterable<E> iterable) { this.iterator = iterable.iterator(); } @Override public boolean hasNext() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java
return Reflection.newProxy(List.class, new DelegatingInvocationHandlerWithEquals(delegate)); } @SuppressWarnings("unchecked") // proxy of Iterable<String> private static Iterable<String> newDelegatingIterableWithEquals(Iterable<String> delegate) { return Reflection.newProxy(Iterable.class, new DelegatingInvocationHandlerWithEquals(delegate)); } @SuppressWarnings("unchecked") // proxy of List<String>
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 02:48:50 UTC 2024 - 5.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/PredecessorsFunction.java
* * <p>Some algorithms that operate on a {@code PredecessorsFunction} may produce undesired results * if the returned {@link Iterable} contains duplicate elements. Implementations of such * algorithms should document their behavior in the presence of duplicates. * * <p>The elements of the returned {@code Iterable} must each be: * * <ul> * <li>Non-nullRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 4K bytes - Viewed (0)