com.buck.commons.text
Class TextComparatorFactory
java.lang.Object
com.buck.commons.text.TextComparatorFactory
public class TextComparatorFactory
- extends Object
Creates text comparators.
- Author:
- Robert J. Buck
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextComparatorFactory
public TextComparatorFactory()
getInstance
public static Comparator<String> getInstance(TextComparatorFactory.Kind kind)
- Gets the singleton instance of a comparator.
- Parameters:
kind - the kind of comparator requested.
- Returns:
- the kind's comparator
Copyright © 2013. All Rights Reserved.