Java - Data Structures

Categories: Java 8(JDK1.8)

Prior to Java 2, Java provided ad hoc classes such as Dictionary, Vector, Stack, and Properties to store and manipulate groups of objects. Although these classes were quite useful, they lacked a central, unifying theme. Thus, the way that you used Vector was different from the way that you used Properties.


The collections framework was designed to meet several goals, such as −

The framework had to be high-performance. The implementations for the fundamental collections (dynamic arrays, linked lists, trees, and hashtables) were to be highly efficient.

The framework had to allow different types of collections to work in a similar manner and with a high degree of interoperability.

The framework had to extend and/or adapt a collection easily.


Towards this end, the entire collections framework is designed around a set of standard interfaces. Several standard implementations such as LinkedList, HashSet, and TreeSet, of these interfaces are provided that you may use as-is and you may also implement your own collection, if you choose.

In addition to collections, the framework defines several map interfaces and classes. Maps store key/value pairs. Although maps are not collections in the proper use of the term, but they are fully integrated with collections.

Top Blogs
Java Retention Policy, SOURCE,CLASS,RUNTIME Published at:- Meaning Of Java Published at:- Java Programming in Python Published at:- Applications of Java Programming Published at:- Java Explaination Published at:- History of Java Published at:- Tools You Will Need Published at:- What is Next? Published at:- Popular Java Editors Published at:- Basic Syntax in Java Published at:- Java Identifiers Published at:- Java Modifiers Published at:- Inheritance Published at:- Object and Classes In Java Published at:- Classes in Java Published at:- Source File Declaration Rules Published at:- Java Package Published at:- Constructors Published at:- No argument Constructors Published at:- Basic Datatypes In Java Published at:- Java - Modifier Types Published at:- Java - Basic Operators Published at:- The Relational Operators Published at:- The Bitwise Operators Published at:- The Logical Operators Published at:- The Assignment Operators Published at:- Miscellaneous Operators Published at:- Precedence of Java Operators Published at:- Java - Loop Control Published at:- Java - Decision Making Published at:- Java - Numbers Class Published at:- Java In Character Class Published at:- Escape Sequences In Java Published at:- Character Methods In Java Published at:- Java In Strings Class Published at:- String Length In Java Published at:- Concatenating Strings In Java Published at:- Creating Format Strings In Java Published at:- Java - Arrays Published at:- Creating Arrays In Java Published at:- Java - Date and Time Published at:- Getting Current Date and Time Published at:- Date Comparison Published at:- Simple DateFormat Format Codes Published at:- Sleeping for a While Published at:- Gregorian Calendar Class Published at:- Java - Regular Expressions Published at:- Java - Methods Published at:- Method Calling Published at:- Passing Parameters by Value In Java Published at:- Method Overloading In Java Published at:- The finalize( ) Method In Java Published at:- Java - Files and I O Published at:- Standard Streams In Java Published at:- File Input Stream Published at:- File Output Stream In Java Published at:- Directories in Java Published at:- Java - Exceptions Published at:- Exception Hierarchy In Java Published at:- Java Programming Language Published at:- JDK in Java Published at:- History of Java Programming Language Published at:- Difference Between C++ vs Java vs Python Published at:- How JVM Works – JVM Architecture? Published at:- JVM Memory Published at:- Difference between Byte Code and Machine Code Published at:- How is Java platform independent? Published at:- Java is platform-independent but JVM is platform dependent Published at:- Java Basic Syntax Published at:- Data types in Java Published at:- Primitive data type vs. Object data type in Java with Examples Published at:- Java Identifiers Published at:- Operators in Java Published at:- Variables in Java Published at:- Types of Variables in Java Published at:- Differences between the Instance variable Vs. the Static variables Published at:- Scope of Variables In Java Published at:- Differences between JDK, JRE and JVM Published at:- Similarities and Difference between Java and C++ Published at:- Setting up the environment in Java Published at:- Packages In Java Published at:- Decision Making in Java (if, if-else, switch, break, continue, jump) Published at:- Loops in Java Published at:- Java while loop with Examples Published at:- Java do-while loop with Examples Published at:- Components of do-while Loop Published at:- Continue Statement in Java Published at:- Break statement in Java Published at:- Define Java Methods Published at:- Java Method Parameters Published at:- Return Values In JAva Published at:- Define of Java Scope Published at:- Meaning of Java Recursion Published at:- What is OOP in Java ? Published at:- Java Class Attributes Published at:- Java Class Methods Published at:- Static vs. Non-Static Java Published at:- Java Constructors Published at:- Java Encapsulation Published at:- Java Packages Published at:- Java Inheritance Published at:- Java Polymorphism Published at:- Java - Abstraction Published at:- Java - Interfaces Published at:- Declaring Interfaces In Java Published at:- Java - Overriding Published at:- Java - Packages Published at:- Java - Data Structures Published at:- Java - Data Structures Published at:- The Collection Interfaces In Java Published at:- Generics In Java Published at:- Java - Serialization Published at:- Java - Networking Published at:- Java - Sending Email Published at:- Java - Multithreading Published at:- Java - Applet Basics Published at:- Java - Documentation Comments Published at:- Comments in Java Published at:- Java Interview Questions Set 1 Published at:- Java Interview Questions Set 2 Published at:- Java Interview Questions Set 2 Published at:- Java Interview Questions Set 3 Published at:- Java Interview Questions Set 4 Published at:- Java Interview Questions Set 5 Published at:- Java Interview Questions Set 6 Published at:- Java Interview Questions Set 7 Published at:- Java Interview Questions Set 8 Published at:- Java Interview Questions Set 9 Published at:- Java Interview Question Set 10 Published at:- Java Interview Question Set 11 Published at:- Java interview Question Set 12 Published at:- Java Interview Question Set 13 Published at:- Java Interview Questions Set 10 Published at:- Java Interview Question Set 12 Published at:- Java Interview Question Set 13 Published at:- Java Interview Question Set 14 Published at:- Java Interview Question Set 15 Published at:- Java Multithreading Interview Questions Set 1 Published at:- Java multithreading interview questions Set 2 Published at:- Java multithreading interview questions Set 3 Published at:- Java Multithreading Interview Set 4 Published at:- Java multithreading interview questions Set 5 Published at:- Java collections interview questions Set 6 Published at:- Java collections interview questions Set 7 Published at:- Java Interview Question Set 8 Published at:- Java Interview Question Set 1 Published at:- Java Interview Question Set 10 Published at:- Java Interview Question Published at:- Java Interview Question Published at:- Java Interview Question Published at:- Java Interview Question Published at:- Java Interview Question Published at:- Java Interview Question Published at:- Java Interview Question Published at:- JavaScript Interview Questions Published at:- Javascript Interview Question Published at:- Javascript Interview Question Published at:- JavaScript Interview Question Set 1 Published at:- JavaScript Interview Question Set 2 Published at:- JavaScript Interview Question Set 3 Published at:- JavaScript Interview Question Set 4 Published at:- Python Interview Question Set 6 Published at:- How to Optimize Java Apps on Kubernetes Published at:- When and Why Java is utilized for Application Improvement Published at:-
R4R.co.in Team
The content on R4R is created by expert teams.