Package org.ojalgo.type.function
Class MappedConsumer<IN,OUT>
java.lang.Object
org.ojalgo.type.function.MappedConsumer<IN,OUT>
- All Implemented Interfaces:
AutoCloseable
,Consumer<IN>
,AutoConsumer<IN>
,AutoFunctional
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from interface org.ojalgo.type.function.AutoConsumer
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.type.function.AutoConsumer
accept, writeBatch
-
Field Details
-
myConsumer
-
myMapper
-
-
Constructor Details
-
MappedConsumer
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceAutoConsumer<IN>
- Throws:
Exception
-
write
Description copied from interface:AutoConsumer
Write the item to the consumer.- Specified by:
write
in interfaceAutoConsumer<IN>
- Parameters:
item
- The item to be written
-