GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - BrunoRNS/javaIterables: Java dynammic iterables based on python

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
docs
docs
 
 
src/javaiterables
src/javaiterables
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
LICENCE.txt
LICENCE.txt
 
 
README.md
README.md
 
 
build
build
 
 
dependencies.txt
dependencies.txt
 
 
vscode.settings.example.json
vscode.settings.example.json
 
 

Repository files navigation

JavaIterables Library

Welcome to JavaIterables, the library that brings Python-like list and dict functionality to Java! Say goodbye to boilerplate code and hello to clean, efficient data manipulation. Whether you're managing collections or building complex data structures, List and Dict have got your back.

What Does It Do?

  • List: Think of it as a Java-powered list from Python. Append, remove, sort, reverse, and more—all with ease.
  • Dict: A key-value store that feels like Python's dict. Add, update, search, and sort your data like a pro.

Why Use It?

Because Java deserves to be fun too! With JavaIterables, you can:

  • Write less code.
  • Handle collections like a Pythonista.
  • Impress your colleagues with clean, readable Java.

Quick Examples

Using List

import javaiterables.List;

public class Main {
    public static void main(String[] args) {
        List myList = new List();
        myList.append("Java");
        myList.append("is");
        myList.append("awesome!");

        System.out.println("Original List:");
        myList.show();

        myList.reverse();
        System.out.println("Reversed List:");
        myList.show();
    }
}

Using Dict

import javaiterables.Dict;

public class Main {
    public static void main(String[] args) {
        Dict myDict = new Dict();
        myDict.add("language", "Java");
        myDict.add("type", "Object-Oriented");
        myDict.add("fun", true);

        System.out.println("Dictionary Contents:");
        System.out.println("Language: " + myDict.get("language"));
        System.out.println("Type: " + myDict.get("type"));
        System.out.println("Is it fun? " + String.valueOf(myDict.get("fun")));
    }
}

Ready-to-Use .jar

No need to compile anything! Just grab the precompiled javaiterables.jar from the release section and add it to your project:

  1. As a module: Add requires javaiterables; to your module-info.java.
  2. Without modules: Add the .jar to your classpath and import the classes directly.

Licence

This library is open-source and available under the MIT License. Feel free to use, modify, and distribute it as needed.

Want More Details?

Check out the full documentation for a deep dive into all the features, methods, and examples.

Special Thanks

  • My programming professor
  • Family and friends
  • Everybody that helped me anyway

And of course, you, who is going to try this amazing library!

About

Java dynammic iterables based on python

Topics

iterableiterablesiteratorjavajdkpython-based

Resources

Readme
MIT license
Activity

Stars

2 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.