Code Pumpkin

Tag Archives: List

Convenience Factory Methods for Collections | Java9

April 19, 2017
Posted by Abhi Andhariya

In this article, we will see another JDK9 feature Convenience Factory Methods of Collections  to create compact, unmodifiable collection instances with single line of code.  You can download JDK 1.9 from here based on your OS Platform requirements. If you are also interested in learning other features of Java9, you can read our post Java 9 Features   Available Approaches for initializing collections till […]

Linked List

March 31, 2017
Posted by Dipen Adroja

A linked list is a dynamic data structure which is consist of nodes and links. The number of nodes in a list is not fixed and can grow and shrink on demand. As Discussed in previous article of ArrayList, this structure will provide us more space effective insertion/deletion for intermediate elements. In this structure it will […]

Array List

March 31, 2017
Posted by Dipen Adroja

We can think, arraylist as an array having collection of items which can grow and shrink dynamically. Before going further one question should arise Why we want to use array list instead of array? Answer is very simple, when we need a data structure which have all the array capabilities and is also efficient at […]

Total Posts : 124
follow us in feedly

Like Us On Facebook