org.mdanderson.biostat.util
public abstract class AbstractStateMonitor extends Object
Modifier and Type | Field and Description |
---|---|
protected Map |
active
Maps states to components
|
protected Map |
components
Maps components to activity count
|
protected List |
states
Currently active states
|
Constructor and Description |
---|
AbstractStateMonitor()
Class constructor
|
Modifier and Type | Method and Description |
---|---|
void |
activate(Component component,
Object state)
Returns the data that was checked
|
void |
addState(Object state)
Adds a state to the list of monitored states and updates
:TODO: , if it doesn't already exist
|
void |
removeState(Object state)
Removes a state from the list of monitored states,
:TODO: if it doesn't already exist
|
protected List states
protected Map active
protected Map components
public void addState(Object state)
state
- object representing state informationpublic void removeState(Object state)
state
- object representing state informationCopyright © 2002 M.D. Anderson Cancer Center. All Rights Reserved.