- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 240 for ArrayList (0.14 sec)
-
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
@Override public List<Proxy> getProxies() { if (proxies == null) { proxies = new ArrayList<>(); } return proxies; } @Override public MavenExecutionRequest setProxies(List<Proxy> proxies) { if (proxies != null) { this.proxies = new ArrayList<>(proxies); } else { this.proxies = null; } return this;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 31.7K bytes - Viewed (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)));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.2K bytes - Viewed (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)));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 3.4K bytes - Viewed (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 <a
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.1K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java
private List<ModelProblem> problems; DefaultModelBuildingResult() { modelIds = new ArrayList<>(); rawModels = new HashMap<>(); activePomProfiles = new HashMap<>(); activeExternalProfiles = new ArrayList<>(); problems = new ArrayList<>(); } DefaultModelBuildingResult(ModelBuildingResult result) { this();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5K bytes - Viewed (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. * */ public class SimpleProblemCollector implements ModelProblemCollector { private Model model; private List<String> warnings = new ArrayList<>(); private List<String> errors = new ArrayList<>();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/merge/MavenSettingsMerger.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.settings.merge; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.maven.settings.IdentifiableBase; import org.apache.maven.settings.Settings; /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java
new TestStringListGenerator() { @Override public List<String> create(String[] elements) { return new ArrayList<>(MinimalCollection.of(elements)); } }) .named("ArrayList") .withFeatures( ListFeature.GENERAL_PURPOSE, CollectionFeature.SERIALIZABLE, CollectionFeature.ALLOWS_NULL_VALUES,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 11.7K bytes - Viewed (0) -
android/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) -
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
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0)