Optional Assignment
Revision as of 08:27, 30 July 2019 by Dennis.cosgrove (talk | contribs)
Note this studio is required. It helps us gain experience using java.util.Optional<T>.
Code To Implement
Max
class: | Max.java | |
methods: | max | |
package: | optional.assignment | |
source folder: | src/main/java |
public static Optional<Integer> maximum(ImmutableList<Integer> xs)
Test
class: | MaxTestSuite.java | |
package: | optional.assignment | |
source folder: | src/test/java |