Interfaces Write code that uses the Collections interfaces (Collection, Set, List, Queue, Map, SortedSet and SortedMap)
- including their bulk operation methods and array operation methods, such as containsAll(), addAll(), retainAll(), toArray(), etc.
Implementation Ordering Sort collections and arrays (natural and non natural orders) using the sort method of the classes Collections and Arrays.
Implement the Comparable and Comparator interfaces to customize sorting.
Identify cases when a ClassCastException is thrown during sorting.
Develop code using Collections.binarySearch, Arrays.binarySearch. Develop code using the finding and ordering methods from the Collections class: min, max, reverse, reverseOrder, rotate, shuffle and swap. Misc Manipulations Collections class, Arrays class and bit twiddling.