public FreqProxPostingsArray(int size, boolean writeFreqs, boolean writeProx, boolean writeOffsets) {super(size);if (writeFreqs) {termFreqs = new int[size];}lastDocIDs = new int[size];lastDocCodes = new int[size];if (writeProx) {lastPositions = new int[size];if (writeOffsets) {lastOffsets = new int[size];}} else {assert !writeOffsets;}}
public FreqProxPostingsArray(int size, bool writeFreqs, bool writeProx, bool writeOffsets): base(size){if (writeFreqs){termFreqs = new int[size];}lastDocIDs = new int[size];lastDocCodes = new int[size];if (writeProx){lastPositions = new int[size];if (writeOffsets){lastOffsets = new int[size];}}else{Debug.Assert(!writeOffsets);}}