Set<String> set = Stream.of("item1", "item2").collect(Collectors.toSet());