Step 4 - reassemble buffers

public static class IpReassemblyBuffer
	    extends JBuffer implements Comparable<IpReassemblyBuffer> {
JBuffer
+------------+--------+--------+
| Ip4 header | frag 1 | frag 2 |
+------------+--------+--------+
Ip4.offset()
private final Queue<IpReassemblyBuffer> timeoutQueue = new PriorityQueue<IpReassemblyBuffer>();

private void timeoutBuffers() {
  while (timeoutQueue.isEmpty() == false) {

    if (timeoutQueue.peek().isTimedout()) {
      dispatch(timeoutQueue.poll());
    } else {
      break;
    }
  }
}
ComparablePriorityQueue