Tagged articles
cloning
10 articles · Page 1 of 1
This article explains what deep copy is, why it is essential for avoiding side‑effects in mutable data structures, outlines its practical benefits such as safe snapshots and independent cloning of complex objects, and provides a complete JavaScript implementation that handles primitives, circular references, and special built‑in types.
Deep CopyImmutable Datacloning
0 likes · 4 min read

This article presents six Java object‑creation techniques—including direct instantiation, cloning, reflection‑based allocation, dynamic class loading, constructor invocation via reflection, and deserialization—explaining each method with code examples and practical notes for developers.
JavaLombokObject Creation
0 likes · 7 min read

The article explains Java marker interfaces—Serializable, Cloneable, and RandomAccess—showing how their empty definitions signal capabilities such as object serialization, shallow or deep cloning, and fast list indexing, and demonstrates the practical effects on code behavior and performance.
Deep CopyJavaMarker Interface
0 likes · 13 min read

This article explains the multiple techniques for creating objects in Java—including the new operator, Class.newInstance, reflection with Constructor, cloning via Cloneable, and deserialization—while illustrating the underlying bytecode instructions and providing concrete code examples for each method.
JavaObject CreationReflection
0 likes · 8 min read

The article explains the Prototype design pattern in Java, covering its definition, class diagram, implementation with Cloneable, shallow vs deep copying, advantages, use cases, Spring prototype scope, and provides complete code examples illustrating cloning of Sheep, Goat, and Lamb objects.
Deep CopyJavaPrototype Pattern
0 likes · 12 min read

This article explains Java reference copying, object cloning, and the differences between shallow and deep copy, providing code examples and output analysis to illustrate how each method affects object identity and shared references.
COPYDeep CopyJava
0 likes · 8 min read

This article explains why a separate HttpRequestBase object is needed for each concurrent request in a performance testing framework, and provides a complete Java implementation of a FunRequest class that offers deep‑copy, cloning, and fluent configuration of GET/POST HTTP requests.
BackendConcurrencyDeep Copy
0 likes · 8 min read

MySQL 8.0.17 introduces server cloning via MySQL Shell, multi‑value indexes for JSON arrays, enhanced JSON schema validation, optimizer and Volcano iterator upgrades, new collations, replication and routing enhancements, plus numerous bug fixes and deprecations, all detailed in the official release notes.
JSON IndexMySQLOptimizer
0 likes · 8 min read

This article explains Java reflection, serialization, dynamic proxy mechanisms, and object cloning techniques, including code examples and the differences between deep and shallow copies, providing a comprehensive overview of these core Java concepts.
Deep CopyReflectionSerialization
0 likes · 8 min read

This article explains Java object cloning, detailing why cloning is needed, how to implement shallow and deep copies using the Cloneable interface and serialization, and provides comprehensive code examples illustrating the differences and pitfalls of reference copying.
CloneableDeep CopyJava
0 likes · 15 min read
