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