- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 278 for mutable (0.04 seconds)
-
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PropertyContributor.java
*/ @Experimental @Consumer @Named public interface PropertyContributor extends SpiService { /** * Invoked just before session is created with a mutable map that carries collected user properties so far. * * @param userProperties The mutable user properties, never {@code null}. * @see #contribute(ProtoSession) */ default void contribute(Map<String, String> userProperties) {} /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Nov 20 19:58:27 GMT 2024 - 2.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DependencyContext.java
* <strong>NOTE:</strong> This class is not part of any public api and can be changed or deleted without prior notice. * * @since 3.0 */ // TODO From a concurrency perspective, this class is not good. The combination of mutable/immutable state is not nice public class DependencyContext { private final MavenProject project; private final Collection<String> scopesToCollectForCurrentProject;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java
/* At the moment, this class is totally immutable, and this is in line with thoughts about the pre-calculated execution plan that stays the same during the execution. If deciding to add mutable state to this class, it should be at least considered to separate this into a separate mutable structure. */ private final List<ExecutionPlanItem> planItem;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 6.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CWD.java
import org.apache.maven.api.annotations.Nonnull; import static java.util.Objects.requireNonNull; /** * A thin wrapper for a {@link Path} that serves as "current working directory" value. Hence, this class * is mutable (as CWD may be changed), but allows transition only to existing directories. */ public final class CWD implements Supplier<Path> { /** * Creates instance out of {@link Path}. */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Mar 24 14:09:05 GMT 2025 - 2.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryCache.java
// public interface RepositoryCache { /** * Puts the specified data into the cache. <strong>Warning:</strong> The cache will directly save the provided * reference. If the cached data is mutable, i.e. could be modified after being put into the cache, the caller is * responsible for creating a copy of the original data and store the copy in the cache. *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java
* attributes of this artifact. * * TODO I think this exposes a design flaw in that the immutable and mutable parts of an artifact are in one class and * should be split. ie scope, file, etc depend on the context of use, whereas everything else is immutable. */ @Deprecated public class ActiveProjectArtifact implements Artifact { private final Artifact artifact;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 9.9K bytes - Click Count (0) -
tensorflow/c/c_api_internal.h
}; struct TF_DeprecatedSession { tensorflow::Session* session; }; struct TF_Library { void* lib_handle; TF_Buffer op_list; }; struct TF_Graph { TF_Graph(); mutable tensorflow::mutex mu; tensorflow::Graph graph TF_GUARDED_BY(mu); // Runs shape inference. tensorflow::ShapeRefiner refiner TF_GUARDED_BY(mu); // Maps from name of an operation to the Node* in 'graph'.Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Sat May 13 00:49:12 GMT 2023 - 7.6K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/feature/FeaturesTest.java
assertFalse(Features.deployBuildPom(properties)); // "0".parseBoolean() = false } @Test void testDeployBuildPomWithMutableMap() { // Test with a mutable map to ensure the method doesn't modify the input Map<String, Object> properties = new HashMap<>(); properties.put(Constants.MAVEN_DEPLOY_BUILD_POM, "false");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jul 04 19:42:23 GMT 2025 - 7.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java
* <li>Access and modify project properties</li> * <li>Manage repository configurations</li> * <li>Handle project forking states</li> * </ul> * * The service maintains the mutable state of projects as they progress through * their build lifecycle, ensuring thread-safety and proper state management. * All implementations must be thread-safe as they may be accessed concurrently * during parallel builds.
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jan 30 23:29:13 GMT 2025 - 12K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 38.8K bytes - Click Count (0)