{"id":37027775,"url":"https://github.com/evpl/mjpi","last_synced_at":"2026-01-14T03:18:27.624Z","repository":{"id":57726942,"uuid":"391989833","full_name":"evpl/mjpi","owner":"evpl","description":"The Missing Java Primitive Iterators library","archived":false,"fork":false,"pushed_at":"2021-09-02T09:41:59.000Z","size":38,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-16T13:53:31.634Z","etag":null,"topics":["iterators","java","java-library","primitives"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/evpl.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-02T14:54:24.000Z","updated_at":"2023-06-12T19:58:48.000Z","dependencies_parsed_at":"2022-09-11T17:02:45.730Z","dependency_job_id":null,"html_url":"https://github.com/evpl/mjpi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/evpl/mjpi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evpl%2Fmjpi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evpl%2Fmjpi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evpl%2Fmjpi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evpl%2Fmjpi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evpl","download_url":"https://codeload.github.com/evpl/mjpi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evpl%2Fmjpi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["iterators","java","java-library","primitives"],"created_at":"2026-01-14T03:18:26.989Z","updated_at":"2026-01-14T03:18:27.619Z","avatar_url":"https://github.com/evpl.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MJPI - The Missing Java Primitive Iterators library\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.plugatar/mjpi/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.plugatar/mjpi)\n[![Javadoc](http://www.javadoc.io/badge/com.plugatar/mjpi.svg)](http://www.javadoc.io/doc/com.plugatar/mjpi)\n\n---\n\nThis library contains Iterators and Iterables for all primitive types. It also replaces native primitive iterators: \n`java.util.PrimitiveIterator.OfInt`, `java.util.PrimitiveIterator.OfLong`, `java.util.PrimitiveIterator.OfDouble`.\n\n## How to use\n\nMaven:\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.plugatar\u003c/groupId\u003e\n  \u003cartifactId\u003emjpi\u003c/artifactId\u003e\n  \u003cversion\u003e1.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nGradle:\n```groovy\ndependencies {\n    compile 'com.plugatar:mjpi:1.0'\n}\n```\n\n## List of interfaces\n\n| Item type | Iterator          | Iterable          |\n| --------- | ----------------- | ----------------- |\n| `byte`    | `ByteIterator`    | `ByteIterable`    |\n| `short`   | `ShortIterator`   | `ShortIterable`   |\n| `int`     | `IntIterator`     | `IntIterator`     |\n| `long`    | `LongIterator`    | `LongIterable`    |\n| `float`   | `FloatIterator`   | `FloatIterable`   |\n| `double`  | `DoubleIterator`  | `DoubleIterable`  |\n| `char`    | `CharIterator`    | `CharIterable`    |\n| `boolean` | `BooleanIterator` | `BooleanIterable` |\n\n# List of implementations\n\n|           | Implementation                   | Interface                    | Based on                     |\n| --------- | -------------------------------- | ---------------------------- | ---------------------------- |\n| `byte`    | `ByteIteratorOf`                 | `ByteIterator`               | `byte[]`                     |\n|           | `ByteIteratorOfIterator`         | `ByteIterator`               | `Iterator\u003cT\u003e`                |\n|           | `IteratorOfByteIterator`         | `Iterator\u003cT\u003e`                | `ByteIterator`               |\n|           | `ByteIterableOf`                 | `ByteIterable`               | `byte[]`                     |\n| `short`   | `ShortIteratorOf`                | `ShortIterator`              | `short[]`                    |\n|           | `ShortIteratorOfIterator`        | `ShortIterator`              | `Iterator\u003cT\u003e`                |\n|           | `IteratorOfShortIterator`        | `Iterator\u003cT\u003e`                | `ShortIterator`              |\n|           | `ShortIterableOf`                | `ShortIterable`              | `short[]`                    |\n| `int`     | `IntIteratorOf`                  | `IntIterator`                | `int[]`                      |\n|           | `IntIteratorOfIterator`          | `IntIterator`                | `Iterator\u003cT\u003e`                |\n|           | `IteratorOfIntIterator`          | `Iterator\u003cT\u003e`                | `IntIterator`                |\n|           | `IntIteratorOfNativeIterator`    | `IntIterator`                | `PrimitiveIterator.OfInt`    |\n|           | `NativeIteratorOfIntIterator`    | `PrimitiveIterator.OfInt`    | `IntIterator`                |\n|           | `IntIterableOf`                  | `IntIterable`                | `int[]`                      |\n| `long`    | `LongIteratorOf`                 | `LongIterator`               | `long[]`                     |\n|           | `LongIteratorOfIterator`         | `LongIterator`               | `Iterator\u003cT\u003e`                |\n|           | `IteratorOfLongIterator`         | `Iterator\u003cT\u003e`                | `LongIterator`               |\n|           | `LongIteratorOfNativeIterator`   | `LongIterator`               | `PrimitiveIterator.OfLong`   |\n|           | `NativeIteratorOfLongIterator`   | `PrimitiveIterator.OfLong`   | `LongIterator`               |\n|           | `LongIterableOf`                 | `LongIterable`               | `long[]`                     |\n| `float`   | `FloatIteratorOf`                | `FloatIterator`              | `float[]`                    |\n|           | `FloatIteratorOfIterator`        | `FloatIterator`              | `Iterator\u003cT\u003e`                |\n|           | `IteratorOfFloatIterator`        | `Iterator\u003cT\u003e`                | `FloatIterator`              |\n|           | `FloatIterableOf`                | `FloatIterable`              | `float[]`                    |\n| `double`  | `DoubleIteratorOf`               | `DoubleIterator`             | `double[]`                   |\n|           | `DoubleIteratorOfIterator`       | `DoubleIterator`             | `Iterator\u003cT\u003e`                |\n|           | `IteratorOfDoubleIterator`       | `Iterator\u003cT\u003e`                | `DoubleIterator`             |\n|           | `DoubleIteratorOfNativeIterator` | `DoubleIterator`             | `PrimitiveIterator.OfDouble` |\n|           | `NativeIteratorOfDoubleIterator` | `PrimitiveIterator.OfDouble` | `DoubleIterator`             |\n|           | `DoubleIterableOf`               | `DoubleIterable`             | `double[]`                   |\n| `char`    | `CharIteratorOf`                 | `CharIterator`               | `char[]`                     |\n|           | `CharIteratorOfIterator`         | `CharIterator`               | `Iterator\u003cT\u003e`                |\n|           | `IteratorOfCharIterator`         | `Iterator\u003cT\u003e`                | `CharIterator`               |\n|           | `CharIterableOf`                 | `CharIterable`               | `char[]`                     |\n| `boolean` | `BooleanIteratorOf`              | `BooleanIterator`            | `boolean[]`                  |\n|           | `BooleanIteratorOfIterator`      | `BooleanIterator`            | `Iterator\u003cT\u003e`                |\n|           | `IteratorOfBooleanIterator`      | `Iterator\u003cT\u003e`                | `BooleanIterator`            |\n|           | `BooleanIterableOf`              | `BooleanIterable`            | `boolean[]`                  |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevpl%2Fmjpi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevpl%2Fmjpi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevpl%2Fmjpi/lists"}