- 博客(2)
- 收藏
- 关注
原创 Set集合存放的元素不能重复,但是如果要强行存放重复的元素,可以修改equals()和hashcode()
public class setTest { public static void main(String[] args) { Set<SetDemo> set = new HashSet<SetDemo>(); SetDemo setDemo = new SetDemo(); setDemo.setA("haha")...
2018-06-27 11:41:15
2765
原创 使用java程序将文件导入在Excel表格里面
这个类是读取文件以及对文件里面的数据进行操作public class Test { public List<Entiy> getFile() throws IOException { InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream("state.any...
2018-06-26 10:21:51
488
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人