public class StringBuilderResultWriter extends Object implements ResultWriter
Constructor and Description |
---|
StringBuilderResultWriter(RuntimeOutput ro) |
Modifier and Type | Method and Description |
---|---|
void |
addedRecorder() |
void |
addPoint(String id,
double x,
double y) |
void |
advance(double t) |
void |
close() |
void |
flush() |
String |
getID() |
StringBuilder |
getSBOutput() |
public StringBuilderResultWriter(RuntimeOutput ro)
public String getID()
getID
in interface ResultWriter
public void addPoint(String id, double x, double y)
addPoint
in interface ResultWriter
public void advance(double t) throws RuntimeError
advance
in interface ResultWriter
RuntimeError
public void addedRecorder()
addedRecorder
in interface ResultWriter
public void flush() throws RuntimeError
RuntimeError
public void close() throws RuntimeError
close
in interface ResultWriter
RuntimeError
public StringBuilder getSBOutput()
Copyright © 2019. All rights reserved.