Package net.sf.okapi.common.observer
Interface IObserver
-
- All Known Implementing Classes:
Pipeline,SentenceAlignerStep,XPipeline
public interface IObserverThis interface is intended to provide more flexibility to complex object models when multiple inheritance is needed.This class is based on the work done by Martin Fischer, with only minor changes. See references below.
- Author:
- Martin Fischer (original author), Richard Gomes
- See Also:
- Martin
Fischer: Observer and Observable interfaces,
Improved
Observer/Observable,
IObservable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidupdate(IObservable o, Object arg)This method is called whenever the observed object is changed.
-
-
-
Method Detail
-
update
void update(IObservable o, Object arg)
This method is called whenever the observed object is changed.- Parameters:
o- the object to be observed.arg- additional arguments.
-
-