LPS-46711 Improve data structures util classes (ArrayList, ListUtil, MapUtil...) (fixed SF)

Applied SF patterns as requested (see https://github.com/brianchandotcom/liferay-portal/pull/18485)