/java-data-structure

data structure with Loiane Training curse

Primary LanguageJava

Getting Started

Welcome to the VS Code Java world. Here is a guideline to help you get started to write Java code in Visual Studio Code.

Diagram Class

---
title: Class Diagram
---
classDiagram
    GenericStaticList -->"1..0" List
    GenericStaticList -->"1..0" Stack
    GenericStaticList -->"1..0" Queue

    class GenericStaticList{
        -T items
        -int size

        *addItem()
        *deleteItem()
        +isEmpty()
        +searchWithItem()
        +toString()
    }

    class List{
        +T items
        +int size

        -validateEntityName()
        +addTextContent()
        +addChildren()

    }

    class Stack{
        +T items
        +int size

        -validateEntityName()
        +addTextContent()
        +addChildren()

    }

    class Queue{
        +T items
        +int size

        -validateEntityName()
        +addTextContent()
        +addChildren()

    }

Loading

Folder Structure

The workspace contains two folders by default, where:

  • src: the folder to maintain sources
  • lib: the folder to maintain dependencies

Meanwhile, the compiled output files will be generated in the bin folder by default.

If you want to customize the folder structure, open .vscode/settings.json and update the related settings there.

Dependency Management

The JAVA PROJECTS view allows you to manage your dependencies. More details can be found here.