Searched refs:rightIdx (Results 1 – 1 of 1) sorted by relevance
796 int rightIdx = size - 1; in unstableRemoveIf() local797 while (leftIdx <= rightIdx) { in unstableRemoveIf()804 while (rightIdx > leftIdx && predicate.test(collection.get(rightIdx))) { in unstableRemoveIf()805 rightIdx--; in unstableRemoveIf()808 if (leftIdx >= rightIdx) { in unstableRemoveIf()813 Collections.swap(collection, leftIdx, rightIdx); in unstableRemoveIf()815 rightIdx--; in unstableRemoveIf()