Java ArrayList retainAll() - Retain Specified Elements | Vultr Docs