LongAddable objects that deals with GWT, Unsafe, and all that.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Supplier |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static LongAddable |
| SUPPLIER | back to summary |
|---|---|
| private static final Supplier<LongAddable> SUPPLIER | |
| LongAddables | back to summary |
|---|---|
| pack-priv LongAddables() | |
| create | back to summary |
|---|---|
| public static LongAddable create() | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public long |
| PureJavaLongAddable | back to summary |
|---|---|
| private PureJavaLongAddable() | |
| add | back to summary |
|---|---|
| public void add(long x) Implements com.
| |
| increment | back to summary |
|---|---|
| public void increment() Implements com.
| |
| sum | back to summary |
|---|---|
| public long sum() Implements com.
| |