That's it — you just use Collectors.toList which returns a collector that is sent to the collect method. Converting a Stream to a Map.
確定! 回上一頁