Efficient intersection of two List in Java? February 9, 2023 by Tarik You can use retainAll method: columnsOld.retainAll (columnsNew);