Created
October 24, 2017 10:13
-
-
Save brianyu0717/83b2890bfb57ff648563e7b67c4f0a14 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| final double[] values = //... | |
| List<Double> doubles = Arrays.asList(ArrayUtils.toObject(values)); | |
| return doubles.stream().map( d -> (Function<InputData, Double>) (v) -> d).collect(Collectors.toList()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment