- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 973 for arrayList (0.35 seconds)
-
android/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) -
android/guava-tests/test/com/google/common/collect/Collections2Test.java
List<Integer> list = new ArrayList<>(); Collection<List<Integer>> permutationSet = Collections2.orderedPermutations(list); assertEquals(1, permutationSet.size()); assertThat(permutationSet).contains(list); Iterator<List<Integer>> permutations = permutationSet.iterator(); assertNextPermutation(new ArrayList<>(), permutations); assertNoMorePermutations(permutations);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 20.1K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataGraphNode.java
List<MetadataGraphNode> inNodes; /** nodes, exident to this (I depend on) */ List<MetadataGraphNode> exNodes; public MetadataGraphNode() { inNodes = new ArrayList<>(4); exNodes = new ArrayList<>(8); } public MetadataGraphNode(MavenArtifactMetadata metadata) { this(); this.metadata = metadata; }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionForEachTester.java
public void testForEachUnknownOrder() { List<E> elements = new ArrayList<>(); collection.forEach(elements::add); Helpers.assertEqualIgnoringOrder(asList(createSamplesArray()), elements); } @CollectionFeature.Require(KNOWN_ORDER) public void testForEachKnownOrder() { List<E> elements = new ArrayList<>(); collection.forEach(elements::add);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 2.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/MemoryUtilTest.java
assertEquals(0L, MemoryUtil.sizeOf(new ArrayList<>())); // Collection with null elements List<String> listWithNulls = new ArrayList<>(); listWithNulls.add(null); listWithNulls.add(null); assertEquals(0L, MemoryUtil.sizeOf(listWithNulls)); // Mixed content collection List<Object> mixedList = new ArrayList<>(); mixedList.add("test");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java
import com.google.caliper.api.VmOptions; import com.google.common.util.concurrent.AbstractFutureBenchmarks.Facade; import com.google.common.util.concurrent.AbstractFutureBenchmarks.Impl; import java.util.ArrayList; import java.util.List; import java.util.concurrent.CancellationException; import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeoutException; import org.jspecify.annotations.NullUnmarked;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelper.java
public static List<CIInfo> detectCI() { ArrayList<CIInfo> result = ServiceLoader.load(CIDetector.class).stream() .map(ServiceLoader.Provider::get) .map(CIDetector::detectCI) .filter(Optional::isPresent) .map(Optional::get) .collect(Collectors.toCollection(ArrayList::new)); if (result.size() > 1) { // remove genericCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Apr 13 18:50:07 GMT 2025 - 1.9K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java
} @Override public SettingsDecryptionResult decrypt(SettingsDecryptionRequest request) { List<SettingsProblem> problems = new ArrayList<>(); List<Server> servers = new ArrayList<>(); for (Server server : request.getServers()) { server = server.clone(); String password = server.getPassword();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Nov 16 13:55:43 GMT 2024 - 6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 14.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/eventbus/outside/AbstractNotAnnotatedInSuperclassTest.java
} static class SubClass extends SuperClass { final List<Object> overriddenInSubclassNowhereAnnotatedEvents = new ArrayList<>(); final List<Object> overriddenAndAnnotatedInSubclassEvents = new ArrayList<>(); @Override public void overriddenInSubclassNowhereAnnotated(Object o) { overriddenInSubclassNowhereAnnotatedEvents.add(o); } @SubscribeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 2K bytes - Click Count (0)