Hi,
Suppose the following List
List<String> list = new ArrayList<String>();
list.add("s1");
list.add("s2");
list.add(null);
list.add("s3");
list.add(null);
list.add("s4");
I need a Helper class that removes null references. Something like
SomeHelper.removeNullReference(list);
Now, list only contains "s1", "s2", "s4", "s4". Non-null references.
What should i use in order to fulfill this requirement ?
regards,