返回一个不可修改的UnmodifiableList
源码中修改的方法均返回UnsupportedOperationException异常
Collections.unmodifiableList
猜你喜欢
转载自blog.csdn.net/weixin_40910910/article/details/104715588
今日推荐
周排行