Package org.ojalgo.netio
Interface DataInterpreter<T>
- All Superinterfaces:
BiConsumer<T,
,DataOutput> DataReader.Deserializer<T>
,DataWriter.Serializer<T>
,Function<DataInput,
T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic <N extends Comparable<N>>
DataInterpreter<ArrayAnyD<N>> newIDX
(DenseArray.Factory<N> denseArray) default DataReader
<T> default DataReader
<T> newReader
(File file, OperatorWithException<InputStream> filter) static <T> DataInterpreter
<EntryPair.KeyedPrimitive<KeyValue.Dual<T>>> newScoredDual
(DataInterpreter<T> keyInterpreter) default DataWriter
<T> default DataWriter
<T> newWriter
(File file, OperatorWithException<OutputStream> filter) Methods inherited from interface java.util.function.BiConsumer
andThen
Methods inherited from interface org.ojalgo.netio.DataReader.Deserializer
apply, deserialize
Methods inherited from interface org.ojalgo.netio.DataWriter.Serializer
accept, serialize
-
Field Details
-
STRING
-
-
Method Details
-
newIDX
static <N extends Comparable<N>> DataInterpreter<ArrayAnyD<N>> newIDX(DenseArray.Factory<N> denseArray) -
newScoredDual
static <T> DataInterpreter<EntryPair.KeyedPrimitive<KeyValue.Dual<T>>> newScoredDual(DataInterpreter<T> keyInterpreter) -
newReader
-
newReader
-
newWriter
-
newWriter
-