Skip to content

Flyweight design patter on java in forest-tree example.

Notifications You must be signed in to change notification settings

NikaRobaqidze/Flyweight-pattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flyweight pattern

Flyweight design patter on java in forest-tree example.

Author: Refactoring.Guru

Using: IntelJ IDEA Community Edition

Task

Write an example Flyweight that saves RAM usage when creating many objects by creating and reusing flyweight objects with common properties.

It can be game objects: bullets, buildings, NPCs or others.

P.S. It's very similar to caching, but write the code as requested in this pattern.

About

Flyweight design patter on java in forest-tree example.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages