/* * [StringComparator.java] * * Summary: Sort alphabetically, case-sensitive. * * Copyright: (c) 2002-2017 Roedy Green, Canadian Mind Products, http://mindprod.com * * Licence: This software may be copied and used freely for any purpose but military. * http://mindprod.com/contact/nonmil.html * * Requires: JDK 1.8+ * * Created with: JetBrains IntelliJ IDEA IDE http://www.jetbrains.com/idea/ * * Version History: * 1.0 2002-05-21 initial version * 1.1 2009-04-13 add comments */ package com.mindprod.comparators; import java.util.Comparator; /** * Sort alphabetically, case-sensitive. *
* Defines an alternate sort order for String. * * @author Roedy Green, Canadian Mind Products * @version 1.1 2009-04-13 add comments * @since 2002-05-21 */ public class StringComparator implements Comparator