Data Structures
Introduction
What is a Data Structures?
A Data Structure is a particular way of organizing information on a computer so that it can be used efficiently. Different types of data structures are suitable for different types of applications, and some are highly specialized for specific tasks.
The data structures are used to make different solutions for computacional problems that may involve
complex process such as large databases and Internet indexing services.
Since I work with Java and JavaScript I will explain the implementation in these languages.
Java implementation
Java has a framework for implementing data structures,
it is called the Java Collections Framework
. I highly recommend reviewing the
official
documentation for this framework on the Java
API.
Java Collections Framework is a combination of classes
and interfaces
, which is used to
store and manipulate
the data in the form of objects.
The collections are similar to the Arrays, the difference is that the Collection is a store of dynamic objects,
that is to say that the store can grow or decrease during the execution of the program, while an array has a fixed size.
First of all, let's list all the content it offers:
It is important to highlight how the Map interface is part of the Collection framework BUT does not inherit from the Collection interface. *if concepts like "inherits", "interfaces" or "classes" don't sound familiar, first check out my page of Object Oriented Programming.
At first glance it may seem complicated to understand the graph, but let's order the data:
Interfaces | Classes |
|
|
Every Class has very specific functions, so visit the corresponding page to know more about it.