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