3.0 checkFlyweight()
2.1 Flyweight fly
FlyweightFactory
Files:HashMap
factory():FlyweightcheckFlyweight():void
1.1 factory(Character('a'))
1.3 Flyweight fly
1.4 opeartion(\"First Call\")
2.2 operation(\"Third Call\")
1.0
:ConcreteFlyweight
:FlyweightFactory
接口
operation():void
1.2
Client
factory:FlayweightFactory
ConcreteFlyweight
intrinsicState:Character
:Client
2.0 factory(Character('a'))