(DoubleUnaryOperator wrappedFirst, boolean report)
| 95 | } |
| 96 | |
| 97 | private static void wrappedFI(DoubleUnaryOperator wrappedFirst, boolean report) { |
| 98 | System.gc(); |
| 99 | double result = 0; |
| 100 | long t0 = System.currentTimeMillis(); |
| 101 | for (int i = 1; i < 1000000; i++) |
| 102 | result += wrappedFirst.applyAsDouble(i); |
| 103 | if (report) |
| 104 | System.out.println("Wrapped: .........." + result + "........................" + (System.currentTimeMillis() - t0)); |
| 105 | |
| 106 | } |
| 107 | |
| 108 | public static void main(String[] args) { |
| 109 |
no test coverage detected