/** * Compares the target to a timestamp. * * @param timestamp the timestamp to compare. * @return a negative integer, zero, or a positive integer as the target lies before, covering, * or after than the timestamp. */ public int compareToTimestamp(long timestamp) { return Long.compare(divPosition, timestamp / size); }