public List < ValidationData > findByIds ( List < Long > ids ) { return this . datas . stream ( ) . filter ( d -> ids . contains ( d . getId ( ) ) ) . collect ( Collectors . toList ( ) ) ; }
Find by ids list .