Interface LinkPredictionFormat.Reader<U>

Type Parameters:
U - type of the users
All Superinterfaces:
java.util.function.Supplier<Prediction<U>>
All Known Implementing Classes:
TuplesLinkPredictionFormat.Reader
Enclosing interface:
LinkPredictionFormat<U>

public static interface LinkPredictionFormat.Reader<U>
extends java.util.function.Supplier<Prediction<U>>
Recommendation reader.
  • Method Summary

    Modifier and Type Method Description
    default Prediction<U> get()  
    Prediction<U> read()
    Reads the prediction
  • Method Details

    • read

      Prediction<U> read()
      Reads the prediction
      Returns:
      a stream of recommendations
    • get

      default Prediction<U> get()
      Specified by:
      get in interface java.util.function.Supplier<U>