/Virtual-Proxy-Design-Pattern

The virtual proxy design pattern is used to preserve memory from being allotted to an object that may not be used in the future. Until the object is not used, a light copy of the object is created and shown to the user.

Primary LanguageJava

Virtual Proxy Design Pattern

The repository contains an implementation of the Virtual Proxy Design Pattern.

Directory Structure

📦Virtual-Proxy-Design-Pattern
 ┣ 📂src
 ┃ ┗ 📂VirtualProxyPattern
 ┃ ┃ ┣ 📜ImageProxy.java
 ┃ ┃ ┣ 📜Main.java
 ┃ ┃ ┣ 📜ProxyImage.java
 ┃ ┃ ┗ 📜RealImage.java
 ┣ 📜.gitignore
 ┣ 📜README.md
 ┗ 📜VirtualProxyPattern.iml