Computing

[Java] Remove empty items in List

2021-11-12 C.H. Ling 0

For Removing empty item in list, it can be be done directly. When using method removeIf(), it will throw UnSupportOperationException . It caused by collection items cannot be removed.

1 2 3