mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 03:01:12 +00:00
Commented flyweight example.
This commit is contained in:
@@ -2,6 +2,11 @@ package com.iluwatar;
|
||||
|
||||
import java.util.EnumMap;
|
||||
|
||||
/**
|
||||
*
|
||||
* Flyweight.
|
||||
*
|
||||
*/
|
||||
public class PotionFactory {
|
||||
|
||||
private EnumMap<PotionType, Potion> potions;
|
||||
|
||||
Reference in New Issue
Block a user