- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 971 for ArrayList (0.05 seconds)
-
guava-tests/test/com/google/common/collect/OrderingTest.java
} List<T> newList = new ArrayList<>(strictlyOrderedList); T valueNotInList = newList.remove(1); assertEquals(-2, ordering.binarySearch(newList, valueNotInList)); } void testSortedCopy() { List<T> shuffledList = new ArrayList<>(strictlyOrderedList); shuffledList = shuffledCopy(shuffledList, new Random(5));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 43.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java
import com.google.common.collect.testing.features.Feature; import com.google.common.collect.testing.testers.NavigableSetNavigationTester; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.NavigableSet; import java.util.Set; import java.util.SortedSet; import junit.framework.TestSuite; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 30 16:15:19 GMT 2024 - 6.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java
} @Test public void test_deleteOldDocuments() { documentSizeByQuery = 0L; final List<String> deletedDocIdList = new ArrayList<>(); final List<Map<String, Object>> oldDocList = new ArrayList<>(); final SearchEngineClient client = new SearchEngineClient() { @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 29.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java
.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); List<V> orderedValues = new ArrayList<>(); for (Entry<K, V> entry : ordered) { orderedValues.add(entry.getValue()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 02 19:58:40 GMT 2026 - 26.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/TestLogHandler.java
* limitations under the License. */ package com.google.common.testing; import com.google.common.annotations.GwtCompatible; import com.google.errorprone.annotations.concurrent.GuardedBy; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.logging.Handler; import java.util.logging.LogRecord; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/SplitPackagesAuditTask.java
for (String packageName : readPackages(classpathElement)) { packages.computeIfAbsent(packageName, k -> new ArrayList<>()).add(classpathElement); } } if (LOGGER.isInfoEnabled()) { List<String> msg = new ArrayList<>(); msg.add("Packages from dependencies:");
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 08 22:04:23 GMT 2021 - 14.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
@SuppressWarnings("rawtypes") // raw class ArrayList.class Constructor<ArrayList> constructor = ArrayList.class.getConstructor(); assertEquals( TypeToken.of(ArrayList.class), TypeToken.of(ArrayList.class).constructor(constructor).getOwnerType()); assertEquals( new TypeToken<ArrayList<String>>() {}, new TypeToken<ArrayList<String>>() {}.constructor(constructor).getOwnerType()); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 89.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
} public void testAvoidsStackOverflow_manySubmitted() throws Exception { SettableFuture<@Nullable Void> settableFuture = SettableFuture.create(); ArrayList<ListenableFuture<@Nullable Void>> results = new ArrayList<>(50_001); results.add(serializer.submitAsync(() -> settableFuture, directExecutor())); for (int i = 0; i < 50_000; i++) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 13.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapValuesTester.java
public void testValues() { List<V> expected = new ArrayList<>(); for (Entry<K, V> entry : getSampleElements()) { expected.add(entry.getValue()); } assertEqualIgnoringOrder(expected, multimap().values()); } @CollectionFeature.Require(KNOWN_ORDER) public void testValuesInOrder() { List<V> expected = new ArrayList<>(); for (Entry<K, V> entry : getOrderedElements()) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 2.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java
public void testIterator() { List<E> iteratorElements = new ArrayList<>(); for (E element : collection) { // uses iterator() iteratorElements.add(element); } assertEqualIgnoringOrder(asList(createSamplesArray()), iteratorElements); } @CollectionFeature.Require(KNOWN_ORDER) public void testIterationOrdering() { List<E> iteratorElements = new ArrayList<>(); for (E element : collection) { // uses iterator()
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.1K bytes - Click Count (0)