Skip to content

A compilation of projects to learn object-oriented programming in Java focus on Java Collections (manipulating data)

License

Notifications You must be signed in to change notification settings

satriamjati/JavaCollections

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

JavaCollections

A compilation of projects to learn object-oriented programming in Java focus on Java Collections (manipulating data)

Table of Contents
  1. About JavaCollections
  2. Getting Started
  3. Usage
  4. Future Development
  5. License
  6. Contact
  7. Acknowledgments

About JavaCollections

GameCollections Screenshot classlist Screenshothashsetexample Screenshothashfruits Screenshotsortexample Screenshot

JavaCollections is a compilation of projects to learn object-oriented programming in Java focus on Java Collections (manipulating data).

Its inspiration comes from Java Programming course by Oracle Academy.

(back to top)

Variants

There are 5 projects in JavaCollections Project:

  • classlist
  • hashsetexample
  • hashfruits
  • sortexample
  • GameCollections

classlist hashsetexample hashfruits sortexample are inspired by example and tasks in JP course.

classlist stores and sorts student names (String) in a list using ArrayList. hashsetexample stores and find coin (Coin class) in a bag using HashSet. hashfruits stores and find fruits (String) and their colors (String) in a fruit bowl using HashMap.

sortexample is a project manipulating data in int[] structure. sortexample sorts and finds a value in 100 data and 1,000 data integer arrays. Each integer array has unsorted, ascending sorted, and descending sorted version. sortexample features time processing on each sorting algorithm for time comparison.

GameCollections is a project manipulating data in ArrayList with a specific class. The data is a list of games in ArrayList of Game class. Each game has name, platform, and metascore. Some games have same metascore. GameCollections sorts and finds a value of Metascore in a game list by lower value (ascending).

GameCollections``sortexample both have same types of sorting and searching algorithms. The sorting algorithm are Selection Sort, Bubble Sort, Optimized Bubble Sort, and Binary Search Tree (using class specific). The searching algorithm are Binary Search and Sequential Search.

(back to top)

Built With

Each built is a standalone project using Java with Ant.

(back to top)

Getting Started

This is an example of how to use JavaCollections project on Apache NetBeans 19.

Prerequisites

  • Apache NetBeans 19 with JDK 17 installed

You can find the latest version of Apache NetBeans here.

Installation

  1. Download JavaCollections source code
  2. Extract JavaCollections zip to your chosen folder
  3. Open Apache NetBeans 19
  4. Open File > Open Project... (CTRL+Shift+O)
  5. Find your folder at step 2
  6. Choose a variant you want to try
  7. Click Open Project
  8. Project ready

(back to top)

Usage

You can run every JavaCollections variants to have a good summary of how manipulating data in Java. Each description is listed in Variant.

Furthermore, you can create your own modification to answer your curiousity.

(back to top)

Future Development

Hopefully, find the best practices of data manipulating. Also, add new variant of sorting and searching algorithm for comparison.

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Satria Manggala Jati - @satriamjati - [email protected]

Project Link: https://github.com/satriamjati/JavaCollections

(back to top)

Acknowledgments

(back to top)

About

A compilation of projects to learn object-oriented programming in Java focus on Java Collections (manipulating data)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages