public interface ChangeMonitorable
ChangeMonitor
Modifier and Type | Method and Description |
---|---|
boolean |
hasChanged()
Implementing classes should return if one or more changes (calls of
registerChange() )
have happened since the last call of reset() here. |
void |
registerChange()
This method should be called of a change happened.
|
void |
reset()
Implementing classes should make sure that
hasChanged() will return false after
the call of this method until the next call of registerChange() . |
boolean hasChanged()
registerChange()
)
have happened since the last call of reset()
here.true
if a change happened, false
otherwisevoid registerChange()
void reset()
hasChanged()
will return false
after
the call of this method until the next call of registerChange()
.