- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 65 for emptyMap (0.12 sec)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ExtractGradleApiInfoTask.java
URI uri = URI.create("jar:" + gradleRuntimeApiInfoJar.getAbsoluteFile().toURI()); try (FileSystem fs = FileSystems.newFileSystem(uri, Collections.emptyMap())) { Path upgradedPropertiesJson = fs.getPath(UPGRADED_PROPERTIES_FILE); if (Files.exists(upgradedPropertiesJson)) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Nov 22 22:15:41 UTC 2023 - 3.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt
it to it.readAcceptedChanges() }?.filterValues { it.acceptedApiChanges != null }?.mapValues { it.value.acceptedApiChanges!! } ?: emptyMap() } private fun File.readAcceptedChanges(): AcceptedApiChanges { val jsonString = this.readText() return Gson().fromJson(jsonString, AcceptedApiChanges::class.java) } /**
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 2.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
} @Override public Map<Range<Comparable<?>>, Object> asMapOfRanges() { return emptyMap(); } @Override public Map<Range<Comparable<?>>, Object> asDescendingMapOfRanges() { return emptyMap(); } @Override public RangeMap<Comparable<?>, Object> subRangeMap(Range<Comparable<?>> range) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.9K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/merge/MavenToolchainMergerTest.java
assertEquals(2, jdks.getToolchains().size()); } } private PersistedToolchains read(InputStream is) throws IOException { return reader.read(is, Collections.emptyMap()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultDependencyManagementInjector.java
if (dependencyManagement != null) { Map<Object, Dependency> dependencies = new HashMap<>(); Map<Object, Object> context = Collections.emptyMap(); for (Dependency dependency : model.getDependencies()) { Object key = getDependencyKey().apply(dependency); dependencies.put(key, dependency); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java
} @CollectionSize.Require(ZERO) @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING) public void testToString_size0() { assertEquals("emptyMap.toString should return {}", "{}", getMap().toString()); } @CollectionSize.Require(ONE) @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING) public void testToString_size1() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java
.add(SHORT_NAME, Collections.singletonMap("k1", "v1")) .add(LONG_NAME, Collections.singletonMap("k2", "v2")) .addValue(Collections.singletonMap("k3", "v3")) .addValue(Collections.emptyMap()) .addValue(null) .add(SHORT_NAME, java.util.Optional.of("1")) .add(LONG_NAME, java.util.Optional.of("1")) .add(SHORT_NAME, java.util.Optional.empty())
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 4.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java
return Nature.RELEASE; } } else { return Nature.RELEASE; } } public Map<String, String> getProperties() { return Collections.emptyMap(); } @Override public Metadata setProperties(Map<String, String> properties) { return this; } @SuppressWarnings("deprecation")
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/crawler/util/FieldConfigsTest.java
import org.codelibs.fess.unit.UnitFessTestCase; public class FieldConfigsTest extends UnitFessTestCase { public void test_empty() { final FieldConfigs fieldConfigs = new FieldConfigs(Collections.emptyMap()); assertTrue(fieldConfigs.getConfig("test").isEmpty()); } public void test_values() { final Map<String, String> params = Maps.of("foo", "bar");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 04 06:20:49 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
public void testBuilderPutAllWithEmptyMap() { ImmutableMap<String, Integer> map = new Builder<String, Integer>() .putAll(Collections.<String, Integer>emptyMap()) .buildOrThrow(); assertEquals(Collections.<String, Integer>emptyMap(), map); } public void testBuilderPutAll() { Map<String, Integer> toPut = new LinkedHashMap<>(); toPut.put("one", 1); toPut.put("two", 2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 36.6K bytes - Viewed (0)