java.lang.Object
io.lettuce.core.StringMatchResult
public class StringMatchResult extends Object
Result for STRALGO command.
- Since:
- 6.0
- Author:
- dengliming, Mark Paluch
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStringMatchResult.MatchedPositionMatch position in each string.static classStringMatchResult.PositionPosition range. -
Constructor Summary
Constructors Constructor Description StringMatchResult(String matchString, List<StringMatchResult.MatchedPosition> matches, long len)Creates newStringMatchResult. -
Method Summary
Modifier and Type Method Description longgetLen()List<StringMatchResult.MatchedPosition>getMatches()StringgetMatchString()
-
Constructor Details
-
StringMatchResult
public StringMatchResult(String matchString, List<StringMatchResult.MatchedPosition> matches, long len)Creates newStringMatchResult.- Parameters:
matchString-matches-len-
-
-
Method Details
-
getMatchString
-
getMatches
-
getLen
public long getLen()
-