- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 592 for Lists (0.1 sec)
-
guava/src/com/google/common/collect/Collections2.java
// creating an ArrayList so filtering happens once return Lists.newArrayList(iterator()).toArray(); } @Override @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations public <T extends @Nullable Object> T[] toArray(T[] array) { return Lists.newArrayList(iterator()).toArray(array); } } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 23.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingListTest.java
new TestStringListGenerator() { @Override protected List<String> create(String[] elements) { return new StandardImplForwardingList<>(Lists.newArrayList(elements)); } }) .named("ForwardingList[ArrayList] with standard implementations") .withFeatures( CollectionSize.ANY,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:49:06 UTC 2023 - 5.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingListTest.java
new TestStringListGenerator() { @Override protected List<String> create(String[] elements) { return new StandardImplForwardingList<>(Lists.newArrayList(elements)); } }) .named("ForwardingList[ArrayList] with standard implementations") .withFeatures( CollectionSize.ANY,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:49:06 UTC 2023 - 5.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java
outer.add("foo"); // necessary because we try to remove elements later on return outer; } private static final class TestQueue<E> implements Queue<E> { private final Queue<E> delegate = Lists.newLinkedList(); public final Object mutex = new Object[0]; // something Serializable @Override public boolean offer(E o) { assertTrue(Thread.holdsLock(mutex)); return delegate.offer(o); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 19 20:50:58 UTC 2024 - 4.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java
* limitations under the License. */ package com.google.common.collect; import static com.google.common.collect.ImmutableList.toImmutableList; import static com.google.common.collect.Lists.transform; import static com.google.common.collect.Maps.immutableEntry; import static java.lang.Math.log; import com.google.common.annotations.GwtIncompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
* iterator containing two inner lists of three elements each, all in the original order. * * <p>The returned lists implement {@link java.util.RandomAccess}. * * @param iterator the iterator to return a partitioned view of * @param size the desired size of each partition * @return an iterator of immutable lists containing the elements of {@code iterator} divided into
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java
testers.add(ListSubListTester.class); testers.add(ListToArrayTester.class); return testers; } /** * Specifies {@link CollectionFeature#KNOWN_ORDER} for all list tests, since lists have an * iteration ordering corresponding to the insertion order. */ @Override public TestSuite createTestSuite() { withFeatures(KNOWN_ORDER); return super.createTestSuite(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java
* limitations under the License. */ package com.google.common.util.concurrent; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.collect.Lists.newArrayList; import static com.google.common.util.concurrent.Futures.immediateFailedFuture; import static com.google.common.util.concurrent.Futures.immediateFuture;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Mar 22 03:01:34 UTC 2022 - 6.5K bytes - Viewed (0) -
api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java
} // -- InputLocation merge( InputLocation, InputLocation, boolean ) /** * Merges the {@code source} location into the {@code target} location. * This method is used when the locations refer to lists and also merges the indices. * * @param target the target location * @param source the source location * @param indices the list of integers for the indices * @return the merged location
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Aug 15 13:24:49 UTC 2024 - 6.7K bytes - Viewed (0) -
common-protos/k8s.io/api/node/v1/generated.proto
// items is a list of schema objects. repeated RuntimeClass items = 2; } // Scheduling specifies the scheduling constraints for nodes supporting a // RuntimeClass. message Scheduling { // nodeSelector lists labels that must be present on nodes that support this // RuntimeClass. Pods using this RuntimeClass can only be scheduled to a // node matched by this selector. The RuntimeClass nodeSelector is merged
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 4.4K bytes - Viewed (0)