当您从清单中移除项目时,清单中后续项目的索引将会随之改变。
When you remove an item from the list, the indexes change for subsequent items in the list.
您可以使用这个方法从清单中移除指定的项目,方法是指定要从清单中移除的实际项目。
You can use this method to remove a specific item from the list by specifying the actual item to remove from the list.
清单 1 中的 Ant 脚本从 Internet 下载 Tomcat ZIP,移除之前的部署残留的任何容器,然后解压、安装和启动 Tomcat
The Ant script in Listing 1 downloads the Tomcat ZIP from the Internet, removing any container remnants from previous deployments, then extracts, installs, and starts Tomcat
应用推荐