code: public void applyTo(List<String> list)
      {
          for(int i = 0; i < list.size(); i++)
              list.set(i, stem(list.get(i)));
      }
docs: Replaces each value in the list with the stemmed version of the word
  @param list the list to apply stemming to