10- The Queue Interface

4:47 2 Altaveus 2 Capítols 121 segments

Capítols

  1. 0:03

    The next interface we're going to talk about is the queue interface. Similar to the list interface, it extends the collection interface, so every queue is a collection as well. We use queues in situations where we want to process jobs based…

  2. 1:47

    Now, by the way, I didn't specify this generic type argument over here because this is redundant. The Java compiler can look at what we have on the left side and figure out that this is an array deck of strings. This is the reason why a str…