public class LongCounter extends Object implements Serializable
long values.| Constructor and Description |
|---|
LongCounter() |
LongCounter(long value) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(long value) |
void |
add(Long value)
Consider using
add(long) instead for primitive long values. |
Long |
getValue() |
void |
merge(LongCounter other) |
void |
reset() |
String |
toString() |
public Long getValue()
public void merge(LongCounter other)
public void reset()
public void add(long value)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.