- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 39 for singletonMap (0.07 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java
import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE; import static java.util.Collections.singleton; import static java.util.Collections.singletonMap; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.SetMultimap; import com.google.common.collect.testing.features.CollectionSize;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Dec 16 03:23:31 GMT 2025 - 17.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java
import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE; import static java.util.Collections.singleton; import static java.util.Collections.singletonMap; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.SetMultimap; import com.google.common.collect.testing.features.CollectionSize;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
if (org.apache.maven.artifact.Artifact.SCOPE_SYSTEM.equals(artifact.getScope())) { String localPath = (artifact.getFile() != null) ? artifact.getFile().getPath() : ""; props = Collections.singletonMap(MavenArtifactProperties.LOCAL_PATH, localPath); } Artifact result = new DefaultArtifact( artifact.getGroupId(), artifact.getArtifactId(),
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Sep 04 18:33:16 GMT 2025 - 15.8K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/DecorateReleaseNotes.java
parameters.put("jqueryFiles", getJquery().getFiles()); copySpec.filter(parameters, ReleaseNotesTransformer.class); copySpec.filter(Collections.singletonMap("tokens", getReplacementTokens().get()), ReplaceTokens.class); }); }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Sep 28 06:35:15 GMT 2021 - 4.1K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanCreatorTest.java
@Test void testMulti() { MavenProject project = new MavenProject(); project.setCollectedProjects(List.of()); Map<MavenProject, List<MavenProject>> projects = Collections.singletonMap(project, Collections.emptyList()); BuildPlan plan = calculateLifecycleMappings(projects, "package"); new BuildPlanLogger().writePlan(System.out::println, plan); } @TestCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 28 15:21:19 GMT 2025 - 7.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/model/plugin/DefaultLifecycleBindingsInjector.java
public void merge(Model target, Model source) { if (target.getBuild() == null) { target.setBuild(new Build()); } Map<Object, Object> context = Collections.singletonMap( PLUGIN_MANAGEMENT, target.getBuild().getPluginManagement()); mergePluginContainer_Plugins(target.getBuild(), source.getBuild(), false, context); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 6.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java
.map(p -> XmlNode.newInstance( p.getName(), p.getExpression(), p.getDefaultValue() != null ? Collections.singletonMap("default-value", p.getDefaultValue()) : null, null, null)) .collect(Collectors.toList());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 11.3K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java
boolean system = dependency.getSystemPath() != null && !dependency.getSystemPath().isEmpty(); Map<String, String> props = null; if (system) { props = Collections.singletonMap(MavenArtifactProperties.LOCAL_PATH, dependency.getSystemPath()); } Artifact artifact = new DefaultArtifact( dependency.getGroupId(), dependency.getArtifactId(),
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Mar 20 22:29:18 GMT 2025 - 6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
import static com.google.common.truth.Truth.assertWithMessage; import static java.util.Arrays.asList; import static java.util.Collections.emptyMap; import static java.util.Collections.singleton; import static java.util.Collections.singletonMap; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.base.Converter;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 22:56:33 GMT 2025 - 65K bytes - Click Count (0)