Searched refs:rightIdx (Results 1 – 1 of 1) sorted by relevance
632 int rightIdx = size - 1; in unstableRemoveIf() local633 while (leftIdx <= rightIdx) { in unstableRemoveIf()640 while (rightIdx > leftIdx && predicate.test(collection.get(rightIdx))) { in unstableRemoveIf()641 rightIdx--; in unstableRemoveIf()644 if (leftIdx >= rightIdx) { in unstableRemoveIf()649 Collections.swap(collection, leftIdx, rightIdx); in unstableRemoveIf()651 rightIdx--; in unstableRemoveIf()