java.lang.Object
net.i2p.router.transport.udp.InboundMessageFragments.ModifiableLong
Enclosing class:
InboundMessageFragments

public static class InboundMessageFragments.ModifiableLongextends Object
Modifiable Long, no locking.
  • Field Details

    • value

      public long value
      The 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