CS 1301 – Ch 6, Handout 1 - Valdosta State University

Java provides three common implementations: HashSet ... convert it to a list. Write a method, getN. amesInCommon. that accepts two sets of names and returns a new set with just the names that are in both sets. The method should not modify either of the two input sets. ... – The map entries are ordered according to the order they were inserted. ................
................