inpro.incremental
Class IUModule.RightBuffer
java.lang.Object
inpro.incremental.IUModule.RightBuffer
- Enclosing class:
- IUModule
protected class IUModule.RightBuffer
- extends java.lang.Object
Encapsulates the module's output in two representations.
Modules should call either of the setBuffer methods in their
implementation of leftBufferUpdate().
- Author:
- timo
Field Summary |
(package private) java.util.List<EditMessage<IU>> |
edits
|
(package private) boolean |
hasUpdates
true if the content has changed since the last call to notify |
(package private) IUList<IU> |
ius
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hasUpdates
boolean hasUpdates
- true if the content has changed since the last call to notify
ius
IUList<IU> ius
edits
java.util.List<EditMessage<IU>> edits
IUModule.RightBuffer
protected IUModule.RightBuffer()
setBuffer
public void setBuffer(java.util.Collection<? extends IU> outputIUs)
setBuffer
public void setBuffer(java.util.List<? extends EditMessage<? extends IU>> edits)
setBuffer
public void setBuffer(java.util.Collection<? extends IU> outputIUs,
java.util.List<? extends EditMessage<? extends IU>> outputEdits)
notify
public void notify(PushBuffer listener)
notify
public void notify(java.util.List<PushBuffer> listeners)