# aNNiMON/Lightweight-Stream-API

Stream API from Java 8 rewritten on iterators for Java 7 and below

Repository: https://github.com/aNNiMON/Lightweight-Stream-API
Canonical: https://ross.abutalabs.com/products/lightweight-stream-api
Language: Java
License: Apache-2.0
License Family: permissive
Topics: java, backports, stream-api, functional-programming
Last push: 2024-02-20T21:19:26+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4262, "days_push": 925, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1591, forks 126 (observed 2026-08-28T04:05:08.668494+00:00)

## What it is
A Java library that backports the Java 8 Stream API, functional interfaces, and Optional classes to Java 7 and below, implemented on iterators. It adds extra operators like filterNot, select, and custom unary operators beyond the standard API.

## Use cases
- use Java 8 streams on Android with old Java versions
- backport Stream API to Java 7 projects
- use Optional and functional interfaces without Java 8
- apply custom stream operators like reverse
- chain filter map sorted forEach on legacy JVM

## When to choose
- you're stuck on Java 7 or an old Android API level but want stream-style code
- you need custom stream operators not available in Java 8 streams

## When to avoid
- you're on Java 8+ and can use the built-in Stream API
- you need parallel stream processing

## Facets
- artifact type: library
- maturity: maintenance
- function: serialization
- domain: developer-tools, programming-languages
- platform: jvm, cross-platform
- tags: java-7-backport, stream-api, functional-programming, optional, iterators, algorithms, android

## Member repositories
- aNNiMON/Lightweight-Stream-API (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:08.668494+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:54:43.028826+00:00, confidence not recorded.
  - readme: https://github.com/aNNiMON/Lightweight-Stream-API (fetched 2026-08-28T04:05:08.668494+00:00, sha b30d699d41f4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
