mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-16 20:59:07 +00:00
Commented flyweight example.
This commit is contained in:
@@ -3,6 +3,11 @@ package com.iluwatar;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* The class that needs many objects.
|
||||
*
|
||||
*/
|
||||
public class AlchemistShop {
|
||||
|
||||
List<Potion> topShelf;
|
||||
|
||||
Reference in New Issue
Block a user