vlad.minaev
09/19/2020, 8:52 AMephemient
09/19/2020, 9:00 AMmutableList.subList(startInclusive, endExclusive).clear()
will remove .slice(startInclusive until endExclusive)
in-place, if that's what you're looking forephemient
09/19/2020, 9:03 AMlist.take(startInclusive) + list.drop(endExclusive)
would work thoughvlad.minaev
09/19/2020, 9:04 AMvlad.minaev
09/19/2020, 9:04 AMnanodeath
09/19/2020, 2:28 PMfilterIndexed