Package org.ojalgo.type.function
Class ShardedConsumer<T>
java.lang.Object
org.ojalgo.type.function.ShardedConsumer<T>
- All Implemented Interfaces:
AutoCloseable
,Consumer<T>
,AutoConsumer<T>
,AutoFunctional
- Direct Known Subclasses:
ShardedConsumer.GeneralShardedConsumer
,ShardedConsumer.PowerOf2ShardedConsumer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final class
(package private) static final class
-
Field Summary
FieldsFields inherited from interface org.ojalgo.type.function.AutoConsumer
NULL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
(package private) static <T> ShardedConsumer
<T> of
(ToIntFunction<T> distributor, Consumer<T>[] consumers) 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, write, writeBatch
-
Field Details
-
myConsumers
-
-
Constructor Details
-
ShardedConsumer
-
-
Method Details
-
of
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceAutoConsumer<T>
- Throws:
Exception
-