public class TurtleView extends Object implements Sink<RippleList>
Sink which accepts Ripple stacks and prints them to a
specified stream in LIFO order, including a Turtle-styled tree view for the
topmost item in the stack.| Constructor and Description |
|---|
TurtleView(RipplePrintStream printStream,
ModelConnection modelConnection) |
public TurtleView(RipplePrintStream printStream, ModelConnection modelConnection) throws RippleException
RippleExceptionpublic int size()
public void put(RippleList stack) throws RippleException
put in interface Sink<RippleList>stack - the stack to print. May not be a nil list.RippleException - if something goes awryCopyright © 2007-2012 fortytwo.net. All Rights Reserved.