text: public BlockList(int capacity){int dirSize = ToDirectoryIndex(capacity);if ((capacity & BLOCK_MASK) != 0 || dirSize == 0){dirSize++;}directory = NGit.Util.BlockList<T>.NewDirectory(dirSize);directory[0] = NGit.Util.BlockList<T>.NewBlock();tailBlock = directory[0];}