As mentioned earlier, besides providing Lists, the Collections API also provides interfaces and classes for Sets and Maps. These are used in a similar way to those for Lists.