- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 973 for arrayList (0.05 seconds)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java
} return Optional.empty(); } protected Optional<List<String>> collectListIfPresentOrEmpty(Function<O, Optional<List<String>>> getter) { int had = 0; ArrayList<String> items = new ArrayList<>(); for (O option : options) { Optional<List<String>> o = getter.apply(option); if (o.isPresent()) { had++; items.addAll(o.get());Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Feb 26 17:31:44 GMT 2025 - 5.7K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java
} } } metadata.getVersioning().setSnapshotVersions(new ArrayList<>(versions.values())); // just carry-on as-is if (!recessive.getPlugins().isEmpty()) { metadata.setPlugins(new ArrayList<>(recessive.getPlugins())); } artifacts.clear(); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/outside/BaseSubscriberFinderTest.java
import com.google.common.eventbus.outside.BaseSubscriberFinderTest.Subscriber; import java.util.ArrayList; import java.util.List; public class BaseSubscriberFinderTest extends AbstractEventBusTest<Subscriber> { static class Subscriber { final List<Object> nonSubscriberEvents = new ArrayList<>(); final List<Object> subscriberEvents = new ArrayList<>(); public void notASubscriber(Object o) { nonSubscriberEvents.add(o); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 1.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.helper; import java.time.LocalDateTime; import java.util.ArrayList; import java.util.List; import java.util.function.Consumer; import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.opensearch.client.SearchEngineClient;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 16.3K bytes - Click Count (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);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 6.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java
public PersistedToolchains effectiveToolchains; public final List<AutoCloseable> closeables = new ArrayList<>(); @Override public void close() throws InvokerException { List<Exception> causes = null; List<AutoCloseable> cs = new ArrayList<>(closeables); Collections.reverse(cs); for (AutoCloseable c : cs) { if (c != null) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 5.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java
// Test with empty list List<Map<String, Object>> emptyList = new ArrayList<>(); searchRenderData.setDocumentItems(emptyList); assertEquals(emptyList, searchRenderData.getDocumentItems()); // Test with populated list List<Map<String, Object>> documentItems = new ArrayList<>(); Map<String, Object> doc1 = new HashMap<>(); doc1.put("title", "Test Document 1");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 23.6K bytes - Click Count (0) -
android/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) -
guava-tests/test/com/google/common/eventbus/outside/AnnotatedAndAbstractInSuperclassTest.java
public abstract void overriddenInSubclass(Object o); } static class SubClass extends SuperClass { final List<Object> overriddenAndAnnotatedInSubclassEvents = new ArrayList<>(); final List<Object> overriddenInSubclassEvents = new ArrayList<>(); @Subscribe @Override public void overriddenAndAnnotatedInSubclass(Object o) { overriddenAndAnnotatedInSubclassEvents.add(o); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 2K bytes - Click Count (0)