public List<NceConsistRosterEntry> matchingList(String roadName,String roadNumber,String consistNumber,String eng1Address,String eng2Address,String eng3Address,String eng4Address,String eng5Address,String eng6Address,String id){
  List<NceConsistRosterEntry> l=new ArrayList<NceConsistRosterEntry>();
  for (int i=0; i < numEntries(); i++) {
    if (checkEntry(i,roadName,roadNumber,consistNumber,eng1Address,eng2Address,eng3Address,eng4Address,eng5Address,eng6Address,id)) {
      l.add(_list.get(i));
    }
  }
  return l;
}

public List < NceConsistRosterEntry > matchingList ( String roadName , String roadNumber , String consistNumber , String eng1Address , String eng2Address , String eng3Address , String eng4Address , String eng5Address , String eng6Address , String id ) { List < NceConsistRosterEntry > l = new ArrayList < NceConsistRosterEntry > ( ) ; for ( int i = 0 ; i < numEntries ( ) ; i ++ ) { if ( checkEntry ( i , roadName , roadNumber , consistNumber , eng1Address , eng2Address , eng3Address , eng4Address , eng5Address , eng6Address , id ) ) { l . add ( _list . get ( i ) ) ; } } return l ; }
get a list of entries matching some information . the list may have null contents .
