MCPcopy Index your code
hub / github.com/BruceEckel/OnJava8-Examples / minima

Method minima

patterns/strategy/StrategyPattern2.java:25–27  ·  view source on GitHub ↗
(List<Double> line)

Source from the content-addressed store, hash-verified

23 algorithm = (line) -> Arrays.asList(5.5, 6.6);
24 }
25 List<Double> minima(List<Double> line) {
26 return algorithm.apply(line);
27 }
28}
29
30public class StrategyPattern2 {

Callers 1

mainMethod · 0.95

Calls 1

applyMethod · 0.65

Tested by

no test coverage detected