- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 66 for REPLACE (0.09 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceEntryTester.java
try { assertTrue(getMap().replace(k0(), v0(), v3())); expectReplacement(entry(k0(), v3())); } catch (ClassCastException tolerated) { // for ClassToInstanceMap expectUnchanged(); } } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testReplaceEntry_supportedPresentUnchanged() { assertTrue(getMap().replace(k0(), v0(), v0())); expectUnchanged(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 5.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceTester.java
try { assertEquals(v0(), getMap().replace(k0(), v3())); expectReplacement(entry(k0(), v3())); } catch (ClassCastException tolerated) { // for ClassToInstanceMap expectUnchanged(); } } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testReplace_supportedPresentNoChange() { assertEquals(v0(), getMap().replace(k0(), v0())); expectUnchanged(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4K bytes - Viewed (0) -
compat/maven-toolchain-model/src/main/java/org/apache/maven/toolchain/model/BaseObject.java
childrenTracking.replace(delegate, newDelegate); } delegate = newDelegate; } } protected boolean replace(Object oldDelegate, Object newDelegate) { return false; } @FunctionalInterface protected interface ChildrenTracking { boolean replace(Object oldDelegate, Object newDelegate); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/BaseObject.java
childrenTracking.replace(delegate, newDelegate); } delegate = newDelegate; } } protected boolean replace(Object oldDelegate, Object newDelegate) { return false; } @FunctionalInterface protected interface ChildrenTracking { boolean replace(Object oldDelegate, Object newDelegate); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
compat/maven-settings/src/main/java/org/apache/maven/settings/BaseObject.java
childrenTracking.replace(delegate, newDelegate); } delegate = newDelegate; } } protected boolean replace(Object oldDelegate, Object newDelegate) { return false; } @FunctionalInterface protected interface ChildrenTracking { boolean replace(Object oldDelegate, Object newDelegate); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-model/src/main/java/org/apache/maven/model/BaseObject.java
childrenTracking.replace(delegate, newDelegate); } delegate = newDelegate; } } protected boolean replace(Object oldDelegate, Object newDelegate) { return false; } @FunctionalInterface protected interface ChildrenTracking { boolean replace(Object oldDelegate, Object newDelegate); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java
} basedir = basedir.replace("\\", "/"); basedir = basedir.replace("$", "\\$"); // basedirSysProp is non regexp and basedir too path = pathPattern.replace("${" + basedirSysProp + "}", basedir); path = path.replace("\\", "/"); // ---------------------------------------------------------------------------------
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/ModelResolver.java
* identifier are added, then the value of the replace argument determines the behaviour. * * If replace is false then any existing repository with the same Id will remain in use. If replace * is true the new repository replaces the original. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.1K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java
ranges.add(new RangeValue(token.replace("[", ""), true)); } else if (token.startsWith("(")) { ranges.add(new RangeValue(token.replace("(", ""), false)); } else if (token.endsWith("]")) { ranges.add(new RangeValue(token.replace("]", ""), true)); } else if (token.endsWith(")")) { ranges.add(new RangeValue(token.replace(")", ""), false));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.7K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java
} @Override public String alignToBaseDirectory(String path, Path basedir) { String result = path; if (path != null && basedir != null) { path = path.replace('\\', File.separatorChar).replace('/', File.separatorChar); File file = new File(path); if (file.isAbsolute()) { // path was already absolute, just normalize file separator and we're done
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0)