- . . 10 . . . Lambda: Libraries Edition. , Iterable.forEach, Collection.removeIf List.replaceAll.
, List.sort, , Collections.sort.
, , Iterator.remove. remove, UnsupportedOperationException , Iterator. remove . , - . ( ?)
, Collection, , Iterator. , , , , .
Collection.contains(Object). , Iterator . - TreeSet HashSet. List, LinkedList ArrayList, , , . Collection.contains , . .
equals. Collection.equals . , a Set Set, a List List, equals . , a Collection, a List, a Set a List Set.
, Collection.equals instanceof. Lists, AbstractList.equals, Sets, AbstractSet.equals. , Lists, Sets. , , ? .
, , . , , . () - , , . . Set, . Collection, , , . , , , , .
- , .
, . , , Collection , . Collection , , , .