Home | History | Annotate | Download | only in pdf

Lines Matching refs:elem

120     bool add(const T& elem) {
125 int i = find(elem, &pos);
129 *fSetArray->insert(pos) = elem;
130 fOrderedArray->push(elem);
211 bool contains(const T& elem) const {
213 return (this->find(elem) >= 0);
317 * with the index of the place where elem should be inserted to preserve the
321 int find(const T& elem, int* posToInsertSorted = NULL) const {
335 if (elem < (*fSetArray)[iMid]) {
341 if (elem == (*fSetArray)[iMin]) {
345 if (elem < (*fSetArray)[iMin]) {