- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 532 for ArrayList (0.05 seconds)
-
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.artifact.resolver; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Set; import org.apache.maven.artifact.Artifact;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 6.6K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionRequest.java
this.servers = new ArrayList<>(Arrays.asList(server)); } /** * Creates a new request to decrypt the specified proxy. * * @param proxy The proxy to decrypt, must not be {@code null}. */ public DefaultSettingsDecryptionRequest(Proxy proxy) { this.proxies = new ArrayList<>(Arrays.asList(proxy)); } @Override
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapForEachTester.java
public void testForEachKnownOrder() { List<Entry<K, V>> entries = new ArrayList<>(); getMap().forEach((k, v) -> entries.add(entry(k, v))); assertEquals(getOrderedElements(), entries); } @CollectionFeature.Require(absent = KNOWN_ORDER) public void testForEachUnknownOrder() { List<Entry<K, V>> entries = new ArrayList<>(); getMap().forEach((k, v) -> entries.add(entry(k, v)));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellCommandRegistryHolder.java
import java.util.ArrayList; import java.util.List; import org.jline.console.CommandRegistry; import static java.util.Objects.requireNonNull; public class ShellCommandRegistryHolder implements AutoCloseable { private final List<CommandRegistry> commandRegistries; public ShellCommandRegistryHolder() { this.commandRegistries = new ArrayList<>(); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 17 09:50:45 GMT 2024 - 2.2K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java
package org.apache.maven.model.building; import java.util.ArrayList; import java.util.List; import org.apache.maven.model.Model; /** * A simple model problem collector for testing the model building components. * */ @Deprecated public class SimpleProblemCollector implements ModelProblemCollector { private Model model; private List<String> warnings = new ArrayList<>();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapForEachTester.java
public void testForEachKnownOrder() { List<Entry<K, V>> entries = new ArrayList<>(); getMap().forEach((k, v) -> entries.add(entry(k, v))); assertEquals(getOrderedElements(), entries); } @CollectionFeature.Require(absent = KNOWN_ORDER) public void testForEachUnknownOrder() { List<Entry<K, V>> entries = new ArrayList<>(); getMap().forEach((k, v) -> entries.add(entry(k, v)));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 3.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Lists.java
/** * Creates an {@code ArrayList} instance backed by an array with the specified initial size; * simply delegates to {@link ArrayList#ArrayList(int)}. * * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead, * use {@code new }{@link ArrayList#ArrayList(int) ArrayList}{@code <>(int)} directly, taking * advantage of <aCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 42.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/ArrayListMultimap.java
* call, or switch to a {@code HashMap<K, ArrayList<V>>}. */ @Deprecated public void trimToSize() { for (Collection<V> collection : backingMap().values()) { ArrayList<V> arrayList = (ArrayList<V>) collection; arrayList.trimToSize(); } } /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 05 23:15:58 GMT 2025 - 6.8K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/internal/MavenPluginValidatorTest.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.plugin.internal; import javax.inject.Inject; import java.util.ArrayList; import java.util.List; import org.apache.maven.AbstractCoreMavenComponentTestCase; import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.DefaultArtifact;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 4.5K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java
public List<Profile> getProfiles() { if (profiles == null) { profiles = new ArrayList<>(); } return profiles; } @Override public DefaultModelBuildingRequest setProfiles(List<Profile> profiles) { if (profiles != null) { this.profiles = new ArrayList<>(profiles); } else { this.profiles = null; }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 9.2K bytes - Click Count (0)