How to remove nulls from a List in Java One way is to iterate the objects from the Collection ( like List, Array, Map etc) and remove null objects. Remove a particular object from List, Array or Map by searching the object and then removing it. Using the Collections.singleton(T o) method from the java.util package and then it will remove all the objects from the collection. Removing Objects in Traditional Way. We will be taking the following list of String for all our Examples String init[] = { "One", "Two", "One", "Three", "One", "Two", "Three","Four", "Two" }; Here we will remove the objects by finding it from the Collection. List list = new ArrayList(Arrays.asList(init)); list.remove("One"); System.out.println("List value: "+list); list.remove("Two"); System.out.println("List value: "+list); list.remove("Three"); System.out.println("List ...