Collections

  • Queue Interface

    Shalini Goyal - September 11, 2014
    So far I have covered most of the stuff about Collection and it's interfaces like List, Set and Map. Queue interface is another important one which was added into Java API during version 1.5. Queue Interface Java 5 introduced queue implementations in the Collections framework. Queue implementations share a new…
    continue reading

  • Map Interface

    Shalini Goyal - September 10, 2014
    So far we have already covered the basics of Collection API and some of its interfaces. In this post, I am going to discuss about Map interface and the classes which implement it. Few of the classes are used widely specially the ones which are ordered or sorted. Map Interface…
    continue reading

  • Set Interface

    Shalini Goyal - September 9, 2014
    So far we have discussed about the Collection Interface and List Interface & its implementation Classes. Now we will move further to discuss the next important interface in Collection API which does not allow duplicate elements in any of its implementation. Let's have a look: Set Interface Java.util.Set implementations do…
    continue reading

  • List Interface

    Shalini Goyal - September 8, 2014
    In my last post Collection API, I discussed the basics of Collection Framework and explained about the Collection Interface, few important methods it has and the Collection interface hierarchy. Now in continuation to that in this post, I am going to discuss the List interfaces and the classes which implement…
    continue reading

  • Collection API

    Shalini Goyal - September 5, 2014
    What is a Java Collection Dictionary meaning of Collection is 'a group of objects accumulated in one location, especially for some purpose'. In java, collection is true realization of the meaning. Sometimes it is also defined in the manner as - It is a way to achieve the concept of…
    continue reading

  • Collection Interview Questions

    Shalini Goyal - September 4, 2014
    There is no Java Interview which can complete without Java Collection questions. If you are able to crack collection questions, your core Java is considered strong. This section would give you a complete set of Core Java Interview Questions. I would add the answers as well at some later point…
    continue reading