| 57 | } |
| 58 | |
| 59 | private static final class PureJavaLongAddable extends AtomicLong implements LongAddable { |
| 60 | @Override |
| 61 | public void increment() { |
| 62 | getAndIncrement(); |
| 63 | } |
| 64 | |
| 65 | @Override |
| 66 | public void add(long x) { |
| 67 | getAndAdd(x); |
| 68 | } |
| 69 | |
| 70 | @Override |
| 71 | public long sum() { |
| 72 | return get(); |
| 73 | } |
| 74 | } |
| 75 | } |
nothing calls this directly
no outgoing calls
no test coverage detected