java.lang.Object
net.i2p.router.transport.udp.InboundMessageFragments.ModifiableLong
- Enclosing class:
InboundMessageFragments
Modifiable Long, no locking.
Field Summary
FieldsConstructor Summary
ConstructorsConstructorDescriptionModifiableLong(long val) Wraps a single mutable long so it can be updated inside a collection without holding a lock.Method Summary
Field Details
value
public long valueThe value.
Constructor Details
ModifiableLong
public ModifiableLong(long val) Wraps a single mutable long so it can be updated inside a collection without holding a lock.- Parameters:
val- the starting count or timestamp this wrapper holds