Class WordCountPojo.Word

  • Enclosing class:
    WordCountPojo

    public static class WordCountPojo.Word
    extends Object
    This is the POJO (Plain Old Java Object) that is being used for all the operations. As long as all fields are public or have a getter/setter, the system can handle them
    • Constructor Detail

      • Word

        public Word()
      • Word

        public Word​(String word,
                    int i)
    • Method Detail

      • getWord

        public String getWord()
      • setWord

        public void setWord​(String word)
      • getFrequency

        public int getFrequency()
      • setFrequency

        public void setFrequency​(int frequency)