- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 643 for ArrayList (0.11 sec)
-
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java
storage.putAll(m); } public String put(String key, List<String> commentLines, List<String> valueLines) { commentLines = new ArrayList<>(commentLines); valueLines = new ArrayList<>(valueLines); String escapedKey = escapeKey(key); StringBuilder sb = new StringBuilder(); // int lastLine = valueLines.size() - 1; if (valueLines.isEmpty()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 38.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java
set.add(random.nextInt()); } List<Integer> list = new ArrayList<>(set); inputOrder.arrange(list); input = ImmutableList.copyOf(list); } @Benchmark int collections(int reps) { int dummy = 0; // Yes, this could be done more elegantly if (mutable) { for (int i = 0; i < reps; i++) { List<Integer> copy = new ArrayList<>(input); sort(copy); dummy += copy.get(0);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.5K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java
private final List<String> imports = new ArrayList<String>(); private final List<String> interfaceNames = new ArrayList<String>(); private final Map<String, PropertyMetaData> declaredProperties = new HashMap<String, PropertyMetaData>(); private final Set<MethodMetaData> declaredMethods = new HashSet<MethodMetaData>(); private final List<String> innerClassNames = new ArrayList<String>(); private String outerClassName;
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 10.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java
} @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE}) public void testReplaceValuesWithEmpty() { int size = multimap().size(); List<V> oldValues = new ArrayList<>(multimap().get(k0())); List<V> values = emptyList(); assertEquals(oldValues, new ArrayList<V>(multimap().replaceValues(k0(), values))); assertGet(k0()); assertEquals(size - oldValues.size(), multimap().size()); }
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-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
int selectedIndex = random.nextInt(elements.size()); q.offer(elements.remove(selectedIndex)); } } private ArrayList<Integer> createOrderedList(int size) { ArrayList<Integer> elements = new ArrayList<>(size); for (int i = 0; i < size; i++) { elements.add(i); } return elements; } public void testIsEvenLevel() { assertTrue(MinMaxPriorityQueue.isEvenLevel(0));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
return; } final StringBuilder sb = new StringBuilder(100); final List<String> fields = new ArrayList<>(); final List<String> tags = new ArrayList<>(); final List<String> roles = new ArrayList<>(); for (final Pair<String, String> searchFieldLog : searchLog.getSearchFieldLogList()) { final String name = searchFieldLog.getFirst();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 18.1K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/BaseMavenParser.java
implements MavenParser<R> { @Override protected List<O> parseCliOptions(LocalContext context) throws ParserException, IOException { ArrayList<O> result = new ArrayList<>(); // CLI args result.add(parseMavenCliOptions(context.parserRequest.args())); // maven.config; if exists
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (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);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 2.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java
return isLeft ? 1 : -1; } value = FILTER_1.matcher(value).replaceAll(""); List<String> valueTokens = new ArrayList<>(Arrays.asList(FILTER_2.split(value))); List<String> rangeValueTokens = new ArrayList<>(Arrays.asList(FILTER_3.split(rangeValue.value))); addZeroTokens(valueTokens, 3); addZeroTokens(rangeValueTokens, 3);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.7K bytes - Viewed (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; /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.2K bytes - Viewed (0)