Skip to content

elvinmahmudov/collectios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Collectios - Immutable Collections

Build Status

Getting Started

Collectios provide the following collection types:
CollectiosList - analogous to ArrayList
CollectioMap - analogous to HashMap
CollectiosSet - analogous to HashSet

Installing

Step 1: Add to maven dependencies

        <dependency>
            <groupId>com.github.elvinmahmudov</groupId>
            <artifactId>collectios</artifactId>
            <version>1.1</version>
        </dependency>

Step 2: Start using Collectios

public class Main {

    public static void main(String[] args) {
        CList<String> list = CollectiosList.empty(); 
        list = list.add("first");

        System.out.println(list);
        System.out.println(list.add("second");
        System.out.println(list);
    }
}

The output will be:

[first]
[first, second]
[first]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages