Skip to content

JCollection is a java library that has different classes for different data structures that act as collections of items.

Notifications You must be signed in to change notification settings

carlosreyna0/JCollection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

JCollection

JCollection is a java library that has different classes for different data structures that act as collections of items. JCollection currently has 2 main classes (not litterally a main class but you get what I mean), Array and Dictionary. Array is an ArrayList, and Dictionary is just like an ArrayList, except it consists of key-value pairs, and 2 items cannot have the same key.

Each main class (just Array for now) is event based, meaning you can add and remove different events to react to when something is added, changed, or removed.

Each main class has a filter() method, which loops through each item, checks if the filter method returns true, then removes that item if it does. arr.filter((index, item)->index==2);

Each main class has a loop() methods which just loops through each item.

Side note

ignore the Main class, it was just a little test.

Note

I won't be working on this project any longer. It works but keep in mind the package names don't follow java naming conventions. Also Dictionary does not have any events.

About

JCollection is a java library that has different classes for different data structures that act as collections of items.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages