To better understand the difference between each of the three types of collections, let’s look at how each collection implements the apply method. apply is a method which has a single parameter and is available to all the collections in the collection library.