do i need to drop null values code example
Example: how to remove null values
List<String> list = new ArrayList
(Arrays.asList("Java",null,"Python",null, "Ruby"));
CollectionUtils.filter
(list, PredicateUtils.notNullPredicate()); ==> removes nulls
System.out.println(list);