A B C F G H I M N P R S U 

A

automaton - Variable in class com.mifmif.common.regex.Generex
 

B

build(StringBuilder, Deque<GenerexIterator.Step>) - Method in class com.mifmif.common.regex.GenerexIterator.Step
 
buildRootNode() - Method in class com.mifmif.common.regex.Generex
Prepare the rootNode and it's child nodes so that we can get matchedString by index
buildStringFromNode(Node, int) - Method in class com.mifmif.common.regex.Generex
 

C

com.mifmif.common.regex - package com.mifmif.common.regex
 
com.mifmif.common.regex.util - package com.mifmif.common.regex.util
 
createRegExp(String) - Static method in class com.mifmif.common.regex.Generex
Creates a RegExp instance from the given regular expression.
currentChar - Variable in class com.mifmif.common.regex.GenerexIterator.Step
 
currentTransition - Variable in class com.mifmif.common.regex.GenerexIterator.Step
 

F

found - Variable in class com.mifmif.common.regex.GenerexIterator
 

G

generate(String, State, int) - Method in class com.mifmif.common.regex.Generex
 
Generex - Class in com.mifmif.common.regex
A Java utility class that help generating string values that match a given regular expression.It generate all values that are matched by the Regex, a random value, or you can generate only a specific string based on it's lexicographical order .
Generex(String) - Constructor for class com.mifmif.common.regex.Generex
 
Generex(Automaton) - Constructor for class com.mifmif.common.regex.Generex
 
Generex(String, Random) - Constructor for class com.mifmif.common.regex.Generex
 
Generex(Automaton, Random) - Constructor for class com.mifmif.common.regex.Generex
 
GenerexIterator - Class in com.mifmif.common.regex
An implementation of Iterator class that iterate over the list of Strings that matches a given Regex.
GenerexIterator(State) - Constructor for class com.mifmif.common.regex.GenerexIterator
 
GenerexIterator.Step - Class in com.mifmif.common.regex
A step, in the iteration process, to build a string using States.
GenerexIterator.Step(State) - Constructor for class com.mifmif.common.regex.GenerexIterator.Step
 
getAllMatchedStrings() - Method in class com.mifmif.common.regex.Generex
Generate all Strings that matches the given Regex.
getFirstMatch() - Method in class com.mifmif.common.regex.Generex
 
getMatchedString(int) - Method in class com.mifmif.common.regex.Generex
 
getMatchedStrings(int) - Method in class com.mifmif.common.regex.Generex
Generate subList with a size of limit of Strings that matches the given Regex. the Strings are ordered in lexicographical order.
getMaxChar() - Method in class com.mifmif.common.regex.Node
 
getMinChar() - Method in class com.mifmif.common.regex.Node
 
getNbrChar() - Method in class com.mifmif.common.regex.Node
 
getNbrMatchedString() - Method in class com.mifmif.common.regex.Node
 
getNextNodes() - Method in class com.mifmif.common.regex.Node
 

H

hasCurrentTransition() - Method in class com.mifmif.common.regex.GenerexIterator.Step
 
hasNext() - Method in class com.mifmif.common.regex.GenerexIterator
 
hasNext() - Method in interface com.mifmif.common.regex.util.Iterator
 

I

isInfinite() - Method in class com.mifmif.common.regex.Generex
Tells whether or not the given pattern (or Automaton) is infinite, that is, generates an infinite number of strings.
isNbrMatchedStringUpdated - Variable in class com.mifmif.common.regex.Node
 
isTransactionNodeBuilt - Variable in class com.mifmif.common.regex.Generex
 
isValidPattern(String) - Static method in class com.mifmif.common.regex.Generex
Tells whether or not the given regular expression is a valid pattern (for Generex).
Iterable - Interface in com.mifmif.common.regex.util
 
iterator() - Method in class com.mifmif.common.regex.Generex
 
iterator() - Method in interface com.mifmif.common.regex.util.Iterable
 
Iterator - Interface in com.mifmif.common.regex.util
 
iteratorTransitions - Variable in class com.mifmif.common.regex.GenerexIterator.Step
 

M

Main - Class in com.mifmif.common.regex
 
Main() - Constructor for class com.mifmif.common.regex.Main
 
main(String[]) - Static method in class com.mifmif.common.regex.Main
 
matchedStringCounter - Variable in class com.mifmif.common.regex.Generex
 
matchedStrings - Variable in class com.mifmif.common.regex.Generex
 
matchedStringsSize() - Method in class com.mifmif.common.regex.Generex
 
maxChar - Variable in class com.mifmif.common.regex.Node
 
minChar - Variable in class com.mifmif.common.regex.Node
 
moveToNextTransition() - Method in class com.mifmif.common.regex.GenerexIterator.Step
 

N

nbrChar - Variable in class com.mifmif.common.regex.Node
 
nbrMatchedString - Variable in class com.mifmif.common.regex.Node
 
next() - Method in class com.mifmif.common.regex.GenerexIterator
 
next() - Method in interface com.mifmif.common.regex.util.Iterator
 
nextImpl() - Method in class com.mifmif.common.regex.GenerexIterator
 
nextNodes - Variable in class com.mifmif.common.regex.Node
 
Node - Class in com.mifmif.common.regex
Node class is used here to present a position in the Automata state .
Node() - Constructor for class com.mifmif.common.regex.Node
 

P

PREDEFINED_CHARACTER_CLASSES - Static variable in class com.mifmif.common.regex.Generex
The predefined character classes supported by Generex.
preparedTransactionNode - Variable in class com.mifmif.common.regex.Generex
 
prepareRandom(String, State, int, int) - Method in class com.mifmif.common.regex.Generex
 
prepareTransactionNodes(State) - Method in class com.mifmif.common.regex.Generex
Build list of nodes that present possible transactions from the state.
pushForDestinationOfCurrentTransition(Deque<GenerexIterator.Step>) - Method in class com.mifmif.common.regex.GenerexIterator.Step
 

R

random - Variable in class com.mifmif.common.regex.Generex
 
random() - Method in class com.mifmif.common.regex.Generex
Generate and return a random String that match the pattern used in this Generex.
random(int) - Method in class com.mifmif.common.regex.Generex
Generate and return a random String that match the pattern used in this Generex, and the string has a length >= minLength
random(int, int) - Method in class com.mifmif.common.regex.Generex
Generate and return a random String that match the pattern used in this Generex, and the string has a length >= minLength and <= maxLength
regExp - Variable in class com.mifmif.common.regex.Generex
 
removeLastChar(StringBuilder) - Static method in class com.mifmif.common.regex.GenerexIterator.Step
 
requote(String) - Static method in class com.mifmif.common.regex.Generex
Requote a regular expression by escaping some parts of it from generation without need to escape each special character one by one.
rootNode - Variable in class com.mifmif.common.regex.Generex
 

S

setMaxChar(char) - Method in class com.mifmif.common.regex.Node
 
setMinChar(char) - Method in class com.mifmif.common.regex.Node
 
setNbrChar(int) - Method in class com.mifmif.common.regex.Node
 
setNbrMatchedString(long) - Method in class com.mifmif.common.regex.Node
 
setNextNodes(List<Node>) - Method in class com.mifmif.common.regex.Node
 
setSeed(long) - Method in class com.mifmif.common.regex.Generex
initialize the random instance used with a seed value to generate a pseudo random suite of strings based on the passed seed and matches the used regular expression instance
steps - Variable in class com.mifmif.common.regex.GenerexIterator
 
stringBuilder - Variable in class com.mifmif.common.regex.GenerexIterator
 

U

updateNbrMatchedString() - Method in class com.mifmif.common.regex.Node
Calculate the number of string that will be generated until the transaction presented by this node, and set the result in nbrMatchedString.
A B C F G H I M N P R S U 

Copyright © 2016. All rights reserved.