java - Multiton - real world example? -
i'm reviewing design patterns. came across 1 multiton, find difficult think of real-worlds usage example.
so what's main field of application strengths of multiton pattern?
telephonymanager telephonymanager = (telephonymanager) getsystemservice(context.telephony_service); inputmethodmanager imm = (inputmethodmanager) getsystemservice(context.input_method_service); clipboardmanager clipboard = (clipboardmanager) getsystemservice(clipboard_service);
this multitone, real life example
Comments
Post a Comment