Class WordPredictor.Prediction

  • Enclosing class:
    WordPredictor

    public static class WordPredictor.Prediction
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Prediction​(java.lang.String word, double frequency)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getFrequency()  
      java.lang.String getWord()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Prediction

        public Prediction​(java.lang.String word,
                          double frequency)
    • Method Detail

      • getWord

        public java.lang.String getWord()
      • getFrequency

        public double getFrequency()