To implement a modifiable list, the programmer must additionally override the set(int index, Object element) method (which otherwise throws an UnsupportedOperationException.

  • 为了实现一个可修改的列表,程序员必须另外重写该类的set(int index, Object element)方法 (否则总是抛出UnsupportedOperationException)。
目录 查词历史