EMMA Coverage Report (generated Tue May 06 07:28:24 PDT 2008) |
---|
[all classes][org.springframework.batch.repeat.context] |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
BackportConcurrentAtomicCounter.java | 0% (0/1) | 0% (0/3) | 0% (0/18) | 0% (0/5) |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
class BackportConcurrentAtomicCounter | 0% (0/1) | 0% (0/3) | 0% (0/18) | 0% (0/5) |
BackportConcurrentAtomicCounter (): void | 0% (0/1) | 0% (0/8) | 0% (0/2) | |
addAndGet (int): void | 0% (0/1) | 0% (0/6) | 0% (0/2) | |
intValue (): int | 0% (0/1) | 0% (0/4) | 0% (0/1) |
1 | package org.springframework.batch.repeat.context; |
2 | |
3 | /** |
4 | * @author Dave Syer |
5 | * |
6 | */ |
7 | class BackportConcurrentAtomicCounter implements AtomicCounter { |
8 | |
9 | private edu.emory.mathcs.backport.java.util.concurrent.atomic.AtomicInteger counter = new edu.emory.mathcs.backport.java.util.concurrent.atomic.AtomicInteger(); |
10 | |
11 | public void addAndGet(int delta) { |
12 | counter.addAndGet(delta); |
13 | } |
14 | |
15 | public int intValue() { |
16 | return counter.intValue(); |
17 | } |
18 | |
19 | } |
[all classes][org.springframework.batch.repeat.context] |
EMMA 2.0.5312 (C) Vladimir Roubtsov |