| Constructor and Description |
|---|
RepeatMatch(String match,
Configuration configuration,
String repeatingCharacters,
int start_index,
int end_index)
Create a new
RepeatMatch |
| Modifier and Type | Method and Description |
|---|---|
String |
getDetails()
Returns details about this match in the form of a String to be printed directly
|
int |
getRepeat() |
String |
getRepeatingCharacters() |
calculateEntropy, getEndIndex, getLength, getStartIndex, getToken, log2, nCk, setEntropypublic RepeatMatch(String match, Configuration configuration, String repeatingCharacters, int start_index, int end_index)
RepeatMatchmatch - the String we are creating the RepeatMatch from.configuration - the Configuration object.repeatingCharacters - the characters which were repeatedstart_index - the start index in the password for this match.end_index - the end index in the password for this match.public String getRepeatingCharacters()
char that is repeated in the match.public int getRepeat()
int how many time the repeatingCharacters is repeating in the match.public String getDetails()
MatchgetDetails in interface MatchgetDetails in class BaseMatchMatch in printable String format.Copyright © 2017. All rights reserved.