private void insertChunk(final MemoryChunk chunk) {
    Preconditions.checkNotNull(chunk, "Error: Memory chunk can't be null");

    final int index = findChunkPosition(chunk);

    m_chunks.add(index, chunk);
  }
Inserts a chunk of memory into the list at the right position.

@param chunk The chunk to insert into the list.
@throws NullPointerException Thrown if the memory chunk is null.
java/zylib/src/main/java/com/google/security/zynamics/zylib/general/memmanager/Memory.java