Interface LinkPredictionFormat.Writer<U>
- Type Parameters:
U- type of the users
- All Superinterfaces:
java.lang.AutoCloseable,java.io.Closeable,java.util.function.Consumer<Prediction<U>>
- All Known Implementing Classes:
TuplesLinkPredictionFormat.Writer
- Enclosing interface:
- LinkPredictionFormat<U>
public static interface LinkPredictionFormat.Writer<U> extends java.io.Closeable, java.util.function.Consumer<Prediction<U>>
Link prediction writer.
-
Method Summary
Modifier and Type Method Description default voidaccept(Prediction<U> prediction)voidwrite(Prediction<U> prediction)Writes the prediction.