- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 914 for iterate (0.06 sec)
-
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
@Override public @Nullable Object execute(Iterator<?> iterator) { iterator.remove(); return null; } }; private static final IteratorOperation NEXT_METHOD = new IteratorOperation() { @Override public @Nullable Object execute(Iterator<?> iterator) { return iterator.next(); } };
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 21.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Queues.java
return new ArrayDeque<>(); } /** * Creates an {@code ArrayDeque} containing the elements of the specified iterable, in the order * they are returned by the iterable's iterator. * * @since 12.0 */ public static <E> ArrayDeque<E> newArrayDeque(Iterable<? extends E> elements) { if (elements instanceof Collection) { return new ArrayDeque<>((Collection<? extends E>) elements); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 26 14:11:14 UTC 2024 - 18.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Queues.java
return new ArrayDeque<>(); } /** * Creates an {@code ArrayDeque} containing the elements of the specified iterable, in the order * they are returned by the iterable's iterator. * * @since 12.0 */ public static <E> ArrayDeque<E> newArrayDeque(Iterable<? extends E> elements) { if (elements instanceof Collection) { return new ArrayDeque<>((Collection<? extends E>) elements); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 26 14:11:14 UTC 2024 - 18.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Optional.java
*/ public static <T> Iterable<T> presentInstances( final Iterable<? extends Optional<? extends T>> optionals) { checkNotNull(optionals); return new Iterable<T>() { @Override public Iterator<T> iterator() { return new AbstractIterator<T>() { private final Iterator<? extends Optional<? extends T>> iterator = checkNotNull(optionals.iterator());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 15.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ArrayTable.java
* iteration ordering across rows and columns in the table's views. None of the view iterators * support {@link Iterator#remove}. If the table is modified after an iterator is created, the * iterator remains valid. * * <p>This class requires less memory than the {@link HashBasedTable} and {@link TreeBasedTable} * implementations, except when the table is sparse. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java
protected ListIteratorTester( int steps, Iterable<E> elementsToInsert, Iterable<? extends IteratorFeature> features, Iterable<E> expectedElements, int startIndex) { super(steps, elementsToInsert, features, expectedElements, KnownOrder.KNOWN_ORDER, startIndex); } @Override protected final Iterable<? extends Stimulus<E, ? super ListIterator<E>>> getStimulusValues() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 2.3K bytes - Viewed (0) -
architecture/networking/controllers.md
Istio consumes _many_ different types of clients (at the time of writing, 7), as well as informers for each of these. Additionally, we often need to convert to various different client forms for different libraries we integrate with. `kube.Client` just bundles these all in one place, so we have a single object to pass around anywhere we need Kubernetes access.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Feb 09 17:41:25 UTC 2024 - 4.9K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java
assertEmpty( new Iterable<Object>() { @Override public Iterator<Object> iterator() { return emptyList().iterator(); } }); list.add("a"); try { assertEmpty(list); throw new Error(); } catch (AssertionFailedError expected) { } try { assertEmpty( new Iterable<String>() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.1K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/HelpersTest.java
assertEmpty( new Iterable<Object>() { @Override public Iterator<Object> iterator() { return emptyList().iterator(); } }); list.add("a"); try { assertEmpty(list); throw new Error(); } catch (AssertionFailedError expected) { } try { assertEmpty( new Iterable<String>() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt
val commonEmptyResponse: ResponseBody = EMPTY_BYTE_ARRAY.toResponseBody() internal fun <T> interleave( a: Iterable<T>, b: Iterable<T>, ): List<T> { val ia = a.iterator() val ib = b.iterator() return buildList { while (ia.hasNext() || ib.hasNext()) { if (ia.hasNext()) { add(ia.next()) } if (ib.hasNext()) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 11K bytes - Viewed (0)