import java.util.Collections; yphlLin.set(index, null); //移除List中所有null yphlLin.removeAll(Collections.singleton(null))
java移除List中所有null
原文:https://www.cnblogs.com/deepalley/p/13140056.html