Check if your collection can be sorted with another Sort that takes a Comparison<T> parameter: http://ift.tt/1sweLM8. Then, instead of multiple classes, you just define a series of member functions (usually static).
No comments:
Post a Comment