Class SpellCheckSuggestion.TermPosition

java.lang.Object
com.broadleafcommerce.search.api.domain.SpellCheckSuggestion.TermPosition
All Implemented Interfaces:
Serializable
Enclosing class:
SpellCheckSuggestion

public static class SpellCheckSuggestion.TermPosition extends Object implements Serializable
See Also:
  • Method Details

    • getStartOffset

      public int getStartOffset()
      The starting index of the incorrectly spelled word in the original query string.
      Returns:
      index of the incorrectly spelled word
    • getEndOffset

      public int getEndOffset()
      The ending index of the incorrectly spelled word in the original query.
      Returns:
      ending index of the incorrectly spelled word
    • setStartOffset

      public void setStartOffset(int startOffset)
      The starting index of the incorrectly spelled word in the original query string.
      Parameters:
      startOffset - starting index of the incorrectly spelled word
    • setEndOffset

      public void setEndOffset(int endOffset)
      The ending index of the incorrectly spelled word in the original query.
      Parameters:
      endOffset - ending index of the incorrectly spelled word
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object