Class Flyweight


public abstract class Flyweight
extends Object
The abstract Flyweight class. The concrete subclasses may or may not be shared.


Method Index

 o doSomething (Object)
The task the flyweight performs

Methods

 o doSomething
public abstract Object doSomething(Object context)
The task the flyweight performs.

Parameters:
context - The extrinsic state information needed to perform the task.
Returns:
The appropriate result.