1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
13 int countAdd(int index
, int increment
= 1);
14 int countGet(int index
);
16 int getCount(int pos
);
17 int getIndex(int pos
);
19 IntCount(const IntCount
& old
) {
20 numInts
= old
.numInts
;
22 iPair
= new IntPair
[numInts
];
23 for (int i
= 0; i
< numInts
; i
++) {
24 iPair
[i
] = old
.iPair
[i
];