vavr

VΛVΓ (Vavr, formerly called Javaslang) is a non-commercial, non-profit object-functional library that runs with Java 8+. It aims to reduce the lines of code and increase code quality.

Github stars Tracking Chart

License
GitHub Release
[Maven Central](http://search.maven.org/#search, gav, 1, g:"io.vavr"%20AND%20a:"vavr")
Build Status
Code Coverage
Gitter Chat
donate
patrons

vavr-logo

Vavr is an object-functional language extension to Java 8, which aims to reduce the lines of code and increase code quality.
It provides persistent collections, functional abstractions for error handling, concurrent programming, pattern matching and much more.

Vavr fuses the power of object-oriented programming with the elegance and robustness of functional programming.
The most interesting part is a feature-rich, persistent collection library that smoothly integrates with Java's standard collections.

Because Vavr does not depend on any libraries (other than the JVM) you can easily add it as standalone .jar to your classpath.

To stay up to date please follow the blog.

Using Vavr

See User Guide and/or Javadoc.

Gradle tasks:

  • Build: ./gradlew check
    • test reports: ./build/reports/tests/test/index.html
    • coverage reports: ./build/reports/jacoco/test/html/index.html
  • Javadoc (linting): ./gradlew javadoc

Contributing

A small number of users have reported problems building Vavr. Read our contribution guide for details.

Main metrics

Overview
Name With Ownervavr-io/vavr
Primary LanguageJava
Program languageJava (Language Count: 4)
Platform
License:Apache License 2.0
所有者活动
Created At2014-01-30 14:07:25
Pushed At2025-07-03 06:01:10
Last Commit At
Release Count34
Last Release Namev0.10.6 (Posted on 2025-02-01 07:47:19)
First Release Namejavaslang-v1.0.0 (Posted on 2014-03-19 22:42:05)
用户参与
Stargazers Count5.9k
Watchers Count171
Fork Count646
Commits Count4.4k
Has Issues Enabled
Issues Count1222
Issue Open Count83
Pull Requests Count1649
Pull Requests Open Count7
Pull Requests Close Count144
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private