drasys.or.matrix.complex
Class SMFWriter

java.lang.Object
  |
  +--java.io.Writer
        |
        +--java.io.PrintWriter
              |
              +--drasys.or.matrix.complex.SMFWriter

public class SMFWriter
extends java.io.PrintWriter
implements MatrixWriterI

Outputs complex matrices to an SMF stream.


Fields inherited from class java.io.PrintWriter
out
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
SMFWriter(java.io.OutputStream out)
           
SMFWriter(java.io.OutputStream out, boolean autoFlush)
           
SMFWriter(java.io.Writer out)
           
SMFWriter(java.io.Writer out, boolean autoFlush)
           
 
Method Summary
 int writeMatrix(MatrixI matrix)
          Writes a matrix to the stream in the SMF
format.
 
Methods inherited from class java.io.PrintWriter
checkError, close, flush, print, print, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SMFWriter

public SMFWriter(java.io.OutputStream out)

SMFWriter

public SMFWriter(java.io.OutputStream out,
                 boolean autoFlush)

SMFWriter

public SMFWriter(java.io.Writer out)

SMFWriter

public SMFWriter(java.io.Writer out,
                 boolean autoFlush)
Method Detail

writeMatrix

public int writeMatrix(MatrixI matrix)
Writes a matrix to the stream in the SMF
format.
Specified by:
writeMatrix in interface MatrixWriterI
Returns:
the number of elements written to the stream.


Copyright(C)1997-2000 by DRA Systems all rights reserved. OpsResearch.com