Package jline.io
Class LINE2JAVA
java.lang.Object
jline.io.LINE2JAVA
Writes the Java (JLINE) source of a model, dispatching on its type.
Port of matlab/src/io/LINE2JAVA.m: a Network goes to QN2JAVA and a
LayeredNetwork to LQN2JAVA, in both cases under the model's own name.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturns the generated source.static voidWrites the generated source to standard output.static voidwrite(Object model, PrintStream out) Writes the generated source to a stream, which is flushed but not closed.static voidWrites the generated source tofilename, overwriting it.
-
Method Details
-
write
Writes the generated source to standard output. -
write
Writes the generated source to a stream, which is flushed but not closed. -
write
Writes the generated source tofilename, overwriting it. -
generate
Returns the generated source.
-