Package Structural.Flyweight
Class ConcreteFlyweight
java.lang.Object
Structural.Flyweight.ConcreteFlyweight
- All Implemented Interfaces:
Flyweight
Concrete implementation of the Flyweight interface.
Represents a shared object with intrinsic state.
-
Constructor Summary
ConstructorsConstructorDescriptionConcreteFlyweight(String intrinsicState) Constructor initializes the intrinsic state of the Flyweight. -
Method Summary
-
Constructor Details
-
ConcreteFlyweight
Constructor initializes the intrinsic state of the Flyweight.- Parameters:
intrinsicState- Shared state for the Flyweight.
-
-
Method Details