Refactor JMemoizerView (extract notifyUpdate() and notifyStreamEnd() to interface).