Class SpellCheckSuggestion.TermPosition
java.lang.Object
com.broadleafcommerce.search.api.domain.SpellCheckSuggestion.TermPosition
- All Implemented Interfaces:
Serializable
- Enclosing class:
- SpellCheckSuggestion
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintThe ending index of the incorrectly spelled word in the original query.intThe starting index of the incorrectly spelled word in the original query string.inthashCode()voidsetEndOffset(int endOffset) The ending index of the incorrectly spelled word in the original query.voidsetStartOffset(int startOffset) The starting index of the incorrectly spelled word in the original query string.toString()
-
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
-
canEqual
-
hashCode
public int hashCode() -
toString
-