Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.1
-
None
-
None
Description
Add CollectionUtils removeRange and removeCount.
Original request:
Add a Collections.drain() method which removes the first N elements from the collection and returns them. This method would have the side-effect of modifying the input collections (due to removal).
// Some suggestions void Collections.drain(Collection<T> from, Collection<T> to, int count); Collection<t> Collections.drain(Collection<t> from, int count);
Attachments
Issue Links
- links to