[JAVA] Command/Flyweight/Proxy Pattern