open fun setFilter(filter: (T) -> Boolean): Unit
Sets the external filter for the data.
filter - a filtering function
filter