private void createFilterList(FilterNode node,List<Filter> filterList){
  for (int index=0; index < node.getChildCount(); index++) {
    FilterNode filterNode=(FilterNode)node.getChildAt(index);
    Filter filter=addFilter(filterNode);
    filterList.add(filter);
  }
}

private void createFilterList ( FilterNode node , List < Filter > filterList ) { for ( int index = 0 ; index < node . getChildCount ( ) ; index ++ ) { FilterNode filterNode = ( FilterNode ) node . getChildAt ( index ) ; Filter filter = addFilter ( filterNode ) ; filterList . add ( filter ) ; } }
creates the filter list .
