Package org.ojalgo.type.function
Interface ScoredDualConsumer<T>
-
- All Superinterfaces:
java.lang.AutoCloseable
,AutoConsumer<EntryPair.KeyedPrimitive<KeyValue.Dual<T>>>
,AutoFunctional
,java.util.function.Consumer<EntryPair.KeyedPrimitive<KeyValue.Dual<T>>>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ScoredDualConsumer<T> extends AutoConsumer<EntryPair.KeyedPrimitive<KeyValue.Dual<T>>>
-
-
Field Summary
-
Fields inherited from interface org.ojalgo.type.function.AutoConsumer
NULL
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
write(EntryPair.KeyedPrimitive<KeyValue.Dual<T>> item)
Write the item to the consumer.void
write(T key1, T key2, float score)
-
Methods inherited from interface org.ojalgo.type.function.AutoConsumer
accept, close, writeBatch
-
-
-
-
Method Detail
-
write
default void write(EntryPair.KeyedPrimitive<KeyValue.Dual<T>> item)
Description copied from interface:AutoConsumer
Write the item to the consumer.- Specified by:
write
in interfaceAutoConsumer<T>
- Parameters:
item
- The item to be written
-
-