List<Integer> list = categoryIdList.stream().filter(item -> itemCategoryIdList.contains(item)).collect(Collectors.toList());