How can I write to a file only if a hashset doesn't contain that value?

后端 未结 0 1670
孤独总比滥情好
孤独总比滥情好 2020-12-05 07:42

I have the following function that should only write to a file if the object is not within the studentList set.

public void appendData(String f, Student s) {
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题