private BufferNode createNewBufferList(int id, BufferNode node) {

		BufferNode head = new BufferNode(HEAD, -1);
		BufferNode tail = new BufferNode(TAIL, -1);
		head.nextVersion = node;
		node.prevVersion = head;
		node.nextVersion = tail;
		tail.prevVersion = node;
		bufferTable.put(id, head);

		return head;
	}
Create a new buffer version list and add the specified node.
@param id buffer id
@param node the first buffer version to add into list
@return buffer version head.
Ghidra/Framework/DB/src/main/java/db/buffers/BufferMgr.java