eclipse-collections icon indicating copy to clipboard operation
eclipse-collections copied to clipboard

#1640 Issue: added condition for empty list

Open Sudhansh702 opened this issue 1 year ago • 0 comments

This PR addresses the issue where takeWhile() and dropWhile() methods always return ImmutableArrayList.

Now, these methods return ImmutableEmptyList when applicable, improving the performance and correctness of the code.

Sudhansh702 avatar Jul 04 '24 17:07 Sudhansh702