public List<String> composeDescription(List<String> list){
  LinkedList<String> ll=new LinkedList<String>();
  for (  String entry : list) {
    String des=getDescription(entry);
    if (des != null) {
      ll.add(des);
    }
  }
  return ll;
}

public List < String > composeDescription ( List < String > list ) { LinkedList < String > ll = new LinkedList < String > ( ) ; for ( String entry : list ) { String des = getDescription ( entry ) ; if ( des != null ) { ll . add ( des ) ; } } return ll ; }
get a list of description strings from a list of entry names .
