Class CaseInsensitiveComparator.Key

  • Enclosing class:
    CaseInsensitiveComparator

    private static final class CaseInsensitiveComparator.Key
    extends java.lang.Object
    Enables to create floor and ceiling keys for given string.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int compareResult  
      java.lang.String value  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Key​(java.lang.String value, int compareResult)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • value

        public final java.lang.String value
      • compareResult

        public final int compareResult
    • Constructor Detail

      • Key

        private Key​(java.lang.String value,
                    int compareResult)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object