public void rememberResult(ItemsFilter itemsFilter){
  List itemsList=Collections.synchronizedList(Arrays.asList(getSortedItems()));
  if (itemsFilter == filter) {
    lastCompletedFilter=itemsFilter;
    lastCompletedResult=itemsList;
  }
}

public void rememberResult ( ItemsFilter itemsFilter ) { List itemsList = Collections . synchronizedList ( Arrays . asList ( getSortedItems ( ) ) ) ; if ( itemsFilter == filter ) { lastCompletedFilter = itemsFilter ; lastCompletedResult = itemsList ; } }
remember result of filtering .
