Package io.lettuce.core
Class StringMatchResult
- 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 class
StringMatchResult.MatchedPosition
Match position in each string.static class
StringMatchResult.Position
Position range.
-
Constructor Summary
Constructors Constructor Description StringMatchResult(String matchString, List<StringMatchResult.MatchedPosition> matches, long len)
Creates newStringMatchResult
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getLen()
List<StringMatchResult.MatchedPosition>
getMatches()
String
getMatchString()
-
-
-
Constructor Detail
-
StringMatchResult
public StringMatchResult(String matchString, List<StringMatchResult.MatchedPosition> matches, long len)
Creates newStringMatchResult
.- Parameters:
matchString
-matches
-len
-
-
-
Method Detail
-
getMatchString
public String getMatchString()
-
getMatches
public List<StringMatchResult.MatchedPosition> getMatches()
-
getLen
public long getLen()
-
-