Bit64

constructor(lo: Long, hi: Long, incrementBy: Long)(source)

Creates a new Bit64 counter initialized to lo and hi

Throws

IllegalArgumentException

when:


constructor(incrementBy: Long)(source)

Creates a new Bit64 counter initialized to 0L:0L

Throws

IllegalArgumentException

when incrementBy is:

  • Less than or equal to 0

  • Greater than MAX_INCREMENT

  • Not a factor of 8

  • Does not go into Long.MIN_VALUE (i.e. when Long.MIN_VALUE % incrementBy != 0)