You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// - parameter range: A range of integers. For each integer in the range that intersects the integers in the IndexSet, then the `includeInteger` predicate will be invoked.
643
643
/// - parameter includeInteger: The predicate which decides if an integer will be included in the result or not.
644
-
publicfunc filteredIndexSet(in range :ClosedRange<Element>, includeInteger:(Element)throws->Bool)rethrows->IndexSet{returntryself.filteredIndexSet(in:Range(range), includeInteger: includeInteger)}
644
+
publicfunc filteredIndexSet(in range :ClosedRange<Element>, includeInteger:(Element)throws->Bool)rethrows->IndexSet{
/// For a positive delta, shifts the indexes in [index, INT_MAX] to the right, thereby inserting an "empty space" [index, delta], for a negative delta, shifts the indexes in [index, INT_MAX] to the left, thereby deleting the indexes in the range [index - delta, delta].
654
-
publicmutatingfunc shift(startingAt integer:Element, by delta:IndexSet.IndexDistance){
656
+
publicmutatingfunc shift(startingAt integer:Element, by delta:Int){
0 commit comments