com.karneim.util.collection.set
Class AutomatonSet_String

java.lang.Object
  extended bycom.karneim.util.collection.automaton.Automaton
      extended bycom.karneim.util.collection.set.AutomatonSet_String
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
Automaton_Pattern

public class AutomatonSet_String
extends Automaton


Nested Class Summary
static interface AutomatonSet_String.ISState
           
static interface AutomatonSet_String.ISStateChangedListener
           
protected  class AutomatonSet_String.LinkedSet_SState
           
protected static class AutomatonSet_String.SProperties
           
 class AutomatonSet_String.SState
           
 
Nested classes inherited from class com.karneim.util.collection.automaton.Automaton
Automaton.IChangedListener, Automaton.IState, Automaton.IStateChangedListener, Automaton.IStateVisitedListener, Automaton.ITransitionVisitedListener, Automaton.LinkedSet_State, Automaton.State, Automaton.Wrapper_State
 
Field Summary
protected  ISet_char fullSet
           
protected static ISet_char FULLSET
           
 
Fields inherited from class com.karneim.util.collection.automaton.Automaton
aStates, automatonNr, currentStateNr, FALSE, isDeterministic, listeners, startState, TRUE, UNKNOWN
 
Constructor Summary
protected AutomatonSet_String()
           
protected AutomatonSet_String(ISet_char fullSet)
           
 
Method Summary
protected  void addAll(AutomatonSet_String.SState state)
           
protected  void addAll(AutomatonSet_String automaton)
           
protected  void addChangedListener(Automaton.IChangedListener listener)
           
protected  AutomatonSet_String.SState addState(boolean isFinal)
           
protected  AutomatonSet_String.SState addState(boolean isFinal, int stateNr)
           
protected  void clear()
           
protected  java.lang.Object clone()
           
protected  java.util.Map cloneState(Automaton.State state)
           
protected  java.util.Map cloneStates(Automaton.LinkedSet_State states)
           
protected  void complement()
           
protected  AutomatonSet_String.SState complement(AutomatonSet_String.SState state)
           
protected  AutomatonSet_String.SState concat(AutomatonSet_String.SState state_A, AutomatonSet_String.SState state_B)
           
protected  void concatAll(AutomatonSet_String.SState state)
           
protected  void concatAll(AutomatonSet_String automaton)
           
protected  Automaton.State createState()
           
protected  AutomatonSet_String.SState createState(boolean isFinal)
           
protected  Automaton.State getStartState()
           
protected  Automaton.LinkedSet_State getStates()
           
protected  AutomatonSet_String.SState intersect(AutomatonSet_String.SState state_A, AutomatonSet_String.SState state_B)
           
protected  boolean isDeterministic()
           
protected  AutomatonSet_String.SState makeDeterministic(AutomatonSet_String.SState state)
           
protected  void minimize()
           
protected  AutomatonSet_String.SState minimize(AutomatonSet_String.SState state)
           
protected  AutomatonSet_String.SState minus(AutomatonSet_String.SState state_A, AutomatonSet_String.SState state_B)
           
protected  Automaton.LinkedSet_State newLinkedSet_State()
           
protected  Automaton.LinkedSet_State newLinkedSet_State(Automaton.State state)
           
protected  AutomatonSet_String.SState optional(AutomatonSet_String.SState state)
           
protected  void removeAll(AutomatonSet_String.SState state)
           
protected  void removeAll(AutomatonSet_String automaton)
           
protected  boolean removeChangedListener(Automaton.IChangedListener listener)
           
protected  boolean removeState(Automaton.State removeState)
           
protected  void removeUselessStates()
           
protected  AutomatonSet_String.SState repeat(AutomatonSet_String.SState element, int minTimes, int maxTimes)
           
protected  void retainAll(AutomatonSet_String.SState state)
           
protected  void retainAll(AutomatonSet_String automaton)
           
protected  void setDeterministic(java.lang.Boolean isDeterministic)
           
protected  void setStartState(Automaton.State startState)
           
protected  AutomatonSet_String.SState union(AutomatonSet_String.SState state_A, AutomatonSet_String.SState state_B)
           
 
Methods inherited from class com.karneim.util.collection.automaton.Automaton
addState, addState, isDeterministic, removeUnreachableStates, setDeterminstic, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FULLSET

protected static final ISet_char FULLSET

fullSet

protected final ISet_char fullSet
Constructor Detail

AutomatonSet_String

protected AutomatonSet_String(ISet_char fullSet)

AutomatonSet_String

protected AutomatonSet_String()
Method Detail

addChangedListener

protected void addChangedListener(Automaton.IChangedListener listener)
Overrides:
addChangedListener in class Automaton

removeChangedListener

protected boolean removeChangedListener(Automaton.IChangedListener listener)
Overrides:
removeChangedListener in class Automaton

isDeterministic

protected boolean isDeterministic()
Overrides:
isDeterministic in class Automaton

getStartState

protected Automaton.State getStartState()
Overrides:
getStartState in class Automaton

newLinkedSet_State

protected Automaton.LinkedSet_State newLinkedSet_State()
Specified by:
newLinkedSet_State in class Automaton

newLinkedSet_State

protected Automaton.LinkedSet_State newLinkedSet_State(Automaton.State state)
Specified by:
newLinkedSet_State in class Automaton

createState

protected Automaton.State createState()
Overrides:
createState in class Automaton

createState

protected AutomatonSet_String.SState createState(boolean isFinal)

addState

protected AutomatonSet_String.SState addState(boolean isFinal)

addState

protected AutomatonSet_String.SState addState(boolean isFinal,
                                              int stateNr)

removeState

protected boolean removeState(Automaton.State removeState)
Overrides:
removeState in class Automaton

clear

protected void clear()
Overrides:
clear in class Automaton

setDeterministic

protected void setDeterministic(java.lang.Boolean isDeterministic)

setStartState

protected void setStartState(Automaton.State startState)
Overrides:
setStartState in class Automaton

getStates

protected Automaton.LinkedSet_State getStates()

complement

protected AutomatonSet_String.SState complement(AutomatonSet_String.SState state)

optional

protected AutomatonSet_String.SState optional(AutomatonSet_String.SState state)

concat

protected AutomatonSet_String.SState concat(AutomatonSet_String.SState state_A,
                                            AutomatonSet_String.SState state_B)

repeat

protected AutomatonSet_String.SState repeat(AutomatonSet_String.SState element,
                                            int minTimes,
                                            int maxTimes)

union

protected AutomatonSet_String.SState union(AutomatonSet_String.SState state_A,
                                           AutomatonSet_String.SState state_B)

intersect

protected AutomatonSet_String.SState intersect(AutomatonSet_String.SState state_A,
                                               AutomatonSet_String.SState state_B)

minus

protected AutomatonSet_String.SState minus(AutomatonSet_String.SState state_A,
                                           AutomatonSet_String.SState state_B)

addAll

protected void addAll(AutomatonSet_String.SState state)

retainAll

protected void retainAll(AutomatonSet_String.SState state)

removeAll

protected void removeAll(AutomatonSet_String.SState state)

concatAll

protected void concatAll(AutomatonSet_String.SState state)

removeUselessStates

protected void removeUselessStates()

complement

protected void complement()

addAll

protected void addAll(AutomatonSet_String automaton)

retainAll

protected void retainAll(AutomatonSet_String automaton)

removeAll

protected void removeAll(AutomatonSet_String automaton)

concatAll

protected void concatAll(AutomatonSet_String automaton)

cloneState

protected java.util.Map cloneState(Automaton.State state)
Overrides:
cloneState in class Automaton

cloneStates

protected java.util.Map cloneStates(Automaton.LinkedSet_State states)
Overrides:
cloneStates in class Automaton

clone

protected java.lang.Object clone()
Overrides:
clone in class Automaton

makeDeterministic

protected AutomatonSet_String.SState makeDeterministic(AutomatonSet_String.SState state)

minimize

protected void minimize()

minimize

protected AutomatonSet_String.SState minimize(AutomatonSet_String.SState state)