public static class StringNfa.StringNfaFactory extends java.lang.Object implements NfaFactory<StringNfa,java.lang.String,java.lang.Object>
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
nullStart |
protected java.lang.String |
nullState |
protected java.lang.String |
nullStop |
Constructor and Description |
---|
StringNfa.StringNfaFactory() |
StringNfa.StringNfaFactory(java.lang.String nullStart,
java.lang.String nullStop) |
StringNfa.StringNfaFactory(java.lang.String nullStart,
java.lang.String nullStop,
java.lang.String nullState) |
Modifier and Type | Method and Description |
---|---|
StringNfa |
create(java.lang.Object start,
java.lang.Object stop) |
java.lang.String |
createState(StringNfa nfa,
java.lang.Object token) |
void |
setFollowers(StringNfa nfa,
java.lang.String owner,
java.lang.Iterable<java.lang.String> followers) |
protected java.lang.String nullStart
protected java.lang.String nullState
protected java.lang.String nullStop
public StringNfa.StringNfaFactory()
public StringNfa.StringNfaFactory(java.lang.String nullStart, java.lang.String nullStop)
public StringNfa.StringNfaFactory(java.lang.String nullStart, java.lang.String nullStop, java.lang.String nullState)
public StringNfa create(java.lang.Object start, java.lang.Object stop)
create
in interface NfaFactory<StringNfa,java.lang.String,java.lang.Object>
public java.lang.String createState(StringNfa nfa, java.lang.Object token)
createState
in interface NfaFactory<StringNfa,java.lang.String,java.lang.Object>
public void setFollowers(StringNfa nfa, java.lang.String owner, java.lang.Iterable<java.lang.String> followers)
setFollowers
in interface NfaFactory<StringNfa,java.lang.String,java.lang.Object>