public static <V>boolean addListNotNullValue(List<V> sourceList,V value){
  return (sourceList != null && value != null) ? sourceList.add(value) : false;
}

public static < V > boolean addListNotNullValue ( List < V > sourceList , V value ) { return ( sourceList != null && value != null ) ? sourceList . add ( value ) : false ; }
add not null entry to list
