Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

nipafx/demo-serialization-proxy-pattern

Repository files navigation

Serialization Proxy Pattern

This project provides the code samples for the CodeFX post about the Serialization Proxy Pattern. It contains the following classes, which all implement the pattern:

  • ComplexNumber: a simple example where the class can keep its fields final due to the pattern.
  • InstanceCache: a slightly more complex example where the class must only serialize the serializable objects it contains in its collection.

As usual, the Demo shows that everything works as intended. It serializes and deserializes instances of the above classes and prints some explanatory messages to System.out.

About

Demonstrates the Serialization Proxy Pattern

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages