/
Yakodan
/
BlackListFilter
Обзор
Документация
Войти
/
Yakodan
/
BlackListFilter
Код
Запросы
0
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/BlackListFilter.java
17 строк
552 B
Yakodan
Initial commit
13 ноя 2023, 07:05
13 ноя 2023, 07:05
19deaff
Код
Авторство
О чём код?
import java.util.List; import java.util.Set; public interface BlackListFilter { /** * From the given list of comments removes ones * that contain words from the black list. * * @param comments list of comments; every comment * is a sequence of words, separated * by spaces, punctuation or line breaks * @param blackList list of words that should not * be present in a comment */ void filterComments(List<String> comments, Set<String> blackList); }