Class SearchMatchResult.DefaultResult
java.lang.Object
org.springframework.shell.support.search.SearchMatchResult.DefaultResult
- All Implemented Interfaces:
SearchMatchResult
- Enclosing interface:
- SearchMatchResult
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.shell.support.search.SearchMatchResult
SearchMatchResult.DefaultResult -
Method Summary
Modifier and TypeMethodDescriptionGetSearchMatchAlgorithmhandling a search.intgetEnd()Get end of a match.int[]Get positions of a match.intgetScore()Get score of a match.intgetStart()Get start of a match.
-
Method Details
-
getStart
public int getStart()Description copied from interface:SearchMatchResultGet start of a match.- Specified by:
getStartin interfaceSearchMatchResult- Returns:
- a start of a match
-
getEnd
public int getEnd()Description copied from interface:SearchMatchResultGet end of a match.- Specified by:
getEndin interfaceSearchMatchResult- Returns:
- a end of a matchh
-
getScore
public int getScore()Description copied from interface:SearchMatchResultGet score of a match.- Specified by:
getScorein interfaceSearchMatchResult- Returns:
- a score of a match
-
getPositions
public int[] getPositions()Description copied from interface:SearchMatchResultGet positions of a match.- Specified by:
getPositionsin interfaceSearchMatchResult- Returns:
- a positions of a match
-
getAlgorithm
Description copied from interface:SearchMatchResultGetSearchMatchAlgorithmhandling a search.- Specified by:
getAlgorithmin interfaceSearchMatchResult- Returns:
SearchMatchAlgorithmhandling a search
-