managing composites

problem -- very many items

solution -- flyweight class