Onepoint interview question

Stream API, what parameters does the functions filter() and map() accept.