Package org.ojalgo.netio
Class ManagedWriter<T>
java.lang.Object
org.ojalgo.netio.ManagedWriter<T>
- All Implemented Interfaces:
Closeable
,AutoCloseable
,ToFileWriter<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ojalgo.netio.ToFileWriter
ToFileWriter.Builder<F>
-
Field Summary
FieldsFields inherited from interface org.ojalgo.netio.ToFileWriter
NULL
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ojalgo.netio.ToFileWriter
writeBatch
-
Field Details
-
myManager
-
myWriter
-
-
Constructor Details
-
ManagedWriter
ManagedWriter(Throughput manager, ToFileWriter<T> writer)
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceToFileWriter<T>
- Throws:
IOException
-
write
Description copied from interface:ToFileWriter
Write the item to the consumer.- Specified by:
write
in interfaceToFileWriter<T>
- Parameters:
item
- The item to be written
-