void (String[] args) { List<Integer> originalList = new ArrayList<>(); originalList.add(1); final List<Integer> newList = originalList.stream() .collect(Collectors.toCollection(() -> new ArrayList<>(1))); boolean empty = newList.isEmpty(); }