Module org.hsqldb

Class StringComparator

  • All Implemented Interfaces:
    java.io.Serializable, java.util.Comparator<java.lang.String>

    public class StringComparator
    extends java.lang.Object
    implements java.util.Comparator<java.lang.String>, java.io.Serializable
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(java.lang.String a, java.lang.String b)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Comparator

        equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Constructor Detail

      • StringComparator

        public StringComparator()
    • Method Detail

      • compare

        public int compare​(java.lang.String a,
                           java.lang.String b)
        Specified by:
        compare in interface java.util.Comparator<java.lang.String>