Clover coverage report - PMD - 3.9 Coverage timestamp: Tue Dec 19 2006 09:38:44 EST FRAMES NO FRAMES |
file stats: | LOC: | 15 |  | Methods: | 1
| NCLOC: | 9 |  | Classes: | 1
Source file | Conditionals | Statements | Methods | TOTAL
Applier.java | 100% | 100% | 100% | 100% |

1 |  | /**
2 |  | * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3 |  | */
4 |  | package net.sourceforge.pmd.util;
5 |  |
6 |  | import java.util.Iterator;
7 |  |
8 |  | public class Applier {
9 |  |
10 | 8463 | public static void apply(UnaryFunction f, Iterator i) {
11 | 8463 | while (i.hasNext()) {
12 | 7903 | f.applyTo(i.next());
13 |  | }
14 |  | }
15 |  | }