Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Immutables encodings for Vavr

License

NotificationsYou must be signed in to change notification settings

immutables/immutables-vavr

Repository files navigation

Build StatusMaven CentralMaven Central (snapshot)Codacy Badge

A set ofImmutables encodings forVavr.

Note: Prior to a 1.0.0 release, the encodings are still in theexperimental phase and therefore should not be relied upon to providea stable API.

Ten Second Tutorial

Include the encodings in your project:

<dependency>  <groupId>org.immutables.vavr</groupId>  <artifactId>vavr-encodings</artifactId>  <version><!-- Insert latest version here --></version>  <scope>provided</scope></dependency>

Annotate your types with@VavrEncodingEnabled. Alternatively,you can annotate a@Style annotation with@VavrEncodingEnabledand have it apply to any types that are using that style. SeeStyles.

Now, any use ofVavr collections in yourabstract value types will magically result in the generatedBuildertypes being augmented with methods to build immutable collectionselement-by-element. Use of Vavr'sOption type will receivethe same special treatment as the standard JavaOptional type.

About

Immutables encodings for Vavr

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors5

Languages


[8]ページ先頭

©2009-2025 Movatter.jp