private Collection<IQuest> findCompletedQuests(Player player){
  List<IQuest> res=new ArrayList<IQuest>();
  for (  IQuest quest : quests) {
    if (quest.isCompleted(player) && quest.isVisibleOnQuestStatus()) {
      res.add(quest);
    }
  }
  return res;
}

private Collection < IQuest > findCompletedQuests ( Player player ) { List < IQuest > res = new ArrayList < IQuest > ( ) ; for ( IQuest quest : quests ) { if ( quest . isCompleted ( player ) && quest . isVisibleOnQuestStatus ( ) ) { res . add ( quest ) ; } } return res ; }
find the quests that a player has completed .
