com.karneim.util.collection.set
Interface IStatePro.IVisitListener

Enclosing interface:
IStatePro

public static interface IStatePro.IVisitListener

The listener interface for receiving visit events of an IStatePro. The class that is interested in processing a state's visit event implements this interface. A listener instance of that class is registered with the state using the state's addVisitListener method.
A state will be visited every time it is the destination state of a transition that has been visited.
A state that becomes visited, will then visit all its epsilon transitions and these transitions will visit all destination states and so on.
State visiting occurs using the methods
IStatePro.visit
IState.next

Copyright: Copyright (c) 2002

Company: B?ro f?r Softwarearchitektur www.karneim.com

Version:
1.0
Author:
Ralf Meyer

Method Summary
 void stateUnVisited(IStatePro state)
           
 void stateVisited(IStatePro state)
          The state invokes this method on all registered listener if it is visited through an epsilon transition.
 void stateVisited(IStatePro state, char ch)
          The state invokes this method on all registered listener if it is visited through an transition with char ch.
 

Method Detail

stateVisited

void stateVisited(IStatePro state)
The state invokes this method on all registered listener if it is visited through an epsilon transition.

Parameters:
state -

stateVisited

void stateVisited(IStatePro state,
                  char ch)
The state invokes this method on all registered listener if it is visited through an transition with char ch.


stateUnVisited

void stateUnVisited(IStatePro state)