Searched refs:rightIdx (Results 1 – 1 of 1) sorted by relevance
681 int rightIdx = size - 1; in unstableRemoveIf() local682 while (leftIdx <= rightIdx) { in unstableRemoveIf()689 while (rightIdx > leftIdx && predicate.test(collection.get(rightIdx))) { in unstableRemoveIf()690 rightIdx--; in unstableRemoveIf()693 if (leftIdx >= rightIdx) { in unstableRemoveIf()698 Collections.swap(collection, leftIdx, rightIdx); in unstableRemoveIf()700 rightIdx--; in unstableRemoveIf()