Class SearchLocation


  • public class SearchLocation
    extends java.lang.Object
    An object that describes a search result.
    • Constructor Detail

      • SearchLocation

        public SearchLocation​(int startIndexInclusive,
                              int endIndexInclusive,
                              java.lang.String searchText,
                              boolean forwardDirection)
    • Method Detail

      • getSearchText

        public java.lang.String getSearchText()
      • getEndIndexInclusive

        public int getEndIndexInclusive()
      • getStartIndexInclusive

        public int getStartIndexInclusive()
      • getMatchLength

        public int getMatchLength()
      • isForwardDirection

        public boolean isForwardDirection()
      • toString

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

        protected java.lang.String fieldsToString()