Interface Flyweight

All Known Implementing Classes:
ConcreteFlyweight

public interface Flyweight
Flyweight interface for defining common methods that Flyweight objects must implement.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    operation(String extrinsicState)
    Operation performed by the Flyweight object.
  • Method Details

    • operation

      void operation(String extrinsicState)
      Operation performed by the Flyweight object.
      Parameters:
      extrinsicState - State provided by the client at runtime.