void () { ImmutableList.Builder<SdkItem> newHead = new ImmutableList.Builder<>(); for (Sdk sdk : sortSdks(mySdkModel.getSdks())) { if (!mySdkFilter.value(sdk)) continue; newHead.add(newSdkItem(sdk)); } myHead = newHead.build(); syncModel(); }