Package org.ojalgo.netio
Interface ScoredDualWriter<T>
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
,ToFileWriter<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 ScoredDualWriter<T> extends ToFileWriter<EntryPair.KeyedPrimitive<KeyValue.Dual<T>>>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ojalgo.netio.ToFileWriter
ToFileWriter.Builder<F>
-
-
Field Summary
-
Fields inherited from interface org.ojalgo.netio.ToFileWriter
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.netio.ToFileWriter
close, writeBatch
-
-
-
-
Method Detail
-
write
default void write(EntryPair.KeyedPrimitive<KeyValue.Dual<T>> item)
Description copied from interface:ToFileWriter
Write the item to the consumer.- Specified by:
write
in interfaceToFileWriter<T>
- Parameters:
item
- The item to be written
-
-