How to collect Java8 IntStream into Deque interface? I can perform this kind of operation with List like that:
List<Integer> integerList = IntStream.of(1, 2, 3)
.boxed()
.collect(Collectors.toList());