Kotlin icon indicating copy to clipboard operation
Kotlin copied to clipboard

Create array algorithms to remove items

Open vicgles opened this issue 5 years ago • 0 comments

Today I had a problem to remove all elements in an arrayList because the generic kotlin 'removeAll' needs a paramater as argument. So I decide create an extension function to removeAll elements in an arrayList without paramaters.

vicgles avatar Oct 29 '20 23:10 vicgles