# Class CaseInsensitiveOrder

java.lang.Object
com.codename1.util.CaseInsensitiveOrder

All Implemented Interfaces:
  `Comparator<String>`

public class CaseInsensitiveOrder extends Object implements Comparator<String>
A string comparator equivalent to String.CASE_INSENSITIVE_ORDER which isn't available in Codename One

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CaseInsensitiveOrder()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `compare(String s1, String s2)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface Comparator

  `equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong`

- ## Constructor Details

  - ### CaseInsensitiveOrder

    public CaseInsensitiveOrder()

- ## Method Details

  - ### compare

    public int compare(String s1, String s2)
    Specified by:
      `compare` in interface `Comparator<String>`