public void search(final List<NaviNode> nodes,final List<NaviEdge> edges,final String searchString){
  m_lastSearchString=searchString;
  clearResults();
  final List<NaviNode> filteredNodes=CResultFilter.filteredNodes(nodes,m_settings.isOnlySelected(),m_settings.isOnlyVisible());
  final List<NaviEdge> filteredEdges=CResultFilter.filteredEdges(edges,m_settings.isOnlySelected(),m_settings.isOnlyVisible());
  searchAll(filteredNodes,filteredEdges,searchString);
  Collections.sort(m_results,new CSearchResultComparator());
  m_cursor.setResults(m_results);
}

public void search ( final List < NaviNode > nodes , final List < NaviEdge > edges , final String searchString ) { m_lastSearchString = searchString ; clearResults ( ) ; final List < NaviNode > filteredNodes = CResultFilter . filteredNodes ( nodes , m_settings . isOnlySelected ( ) , m_settings . isOnlyVisible ( ) ) ; final List < NaviEdge > filteredEdges = CResultFilter . filteredEdges ( edges , m_settings . isOnlySelected ( ) , m_settings . isOnlyVisible ( ) ) ; searchAll ( filteredNodes , filteredEdges , searchString ) ; Collections . sort ( m_results , new CSearchResultComparator ( ) ) ; m_cursor . setResults ( m_results ) ; }
searches through a list of nodes and edges while considering the active search settings .
