3 ms·Your example isn't really a Singleton. Comparator is best understood as the strategy pattern.by brown9-2 13y agoYour example isn't really a Singleton. Comparator is best understood as the strategy pattern.