|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinpro.incremental.PushBuffer
inpro.incremental.sink.FrameAwarePushBuffer
inpro.incremental.sink.LabelWriter
public class LabelWriter
An IU left buffer that prints its contents to STDOUT. The format used resembles wavesurfer label files
| Field Summary |
|---|
| Fields inherited from class inpro.incremental.sink.FrameAwarePushBuffer |
|---|
currentFrame |
| Constructor Summary | |
|---|---|
LabelWriter()
|
|
| Method Summary | |
|---|---|
void |
hypChange(java.util.Collection<? extends IU> ius,
java.util.List<? extends EditMessage<? extends IU>> edits)
this should receive a list of current IUs and a list of edit messages since the last call to hypChange |
| Methods inherited from class inpro.incremental.sink.FrameAwarePushBuffer |
|---|
setCurrentFrame |
| Methods inherited from class inpro.incremental.PushBuffer |
|---|
newProperties, reset |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LabelWriter()
| Method Detail |
|---|
public void hypChange(java.util.Collection<? extends IU> ius,
java.util.List<? extends EditMessage<? extends IU>> edits)
PushBuffer
hypChange in class PushBufferius - while this is a (plain) collection, the collection's iterator()
method must ensure a sensible ordering of the returned elements.
For now we have only used Lists (which are ordered),
but a Tree of IUs should also be possible and this should gracefully
work together with processors that expect listsedits - a list of edits since the last call to hypChange
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||