vavr

Immutables.org encodings for Vavr

Лицензия

Лицензия

Категории

Категории

Immutables Библиотеки уровня приложения Code Generators Vavr Универсальные библиотеки Functional Programming
Группа

Группа

org.immutables.vavr
Идентификатор

Идентификатор

vavr
Последняя версия

Последняя версия

0.6.2
Дата

Дата

Тип

Тип

pom
Описание

Описание

vavr
Immutables.org encodings for Vavr
Ссылка на сайт

Ссылка на сайт

https://github.com/immutables/immutables-vavr
Организация-разработчик

Организация-разработчик

The Immutables.org authors
Система контроля версий

Система контроля версий

https://github.com/immutables/immutables-vavr

Скачать vavr

Имя Файла Размер
vavr-0.6.2.pom 16 KB
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.immutables.vavr/vavr/ -->
<dependency>
    <groupId>org.immutables.vavr</groupId>
    <artifactId>vavr</artifactId>
    <version>0.6.2</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/org.immutables.vavr/vavr/
implementation 'org.immutables.vavr:vavr:0.6.2'
// https://jarcasting.com/artifacts/org.immutables.vavr/vavr/
implementation ("org.immutables.vavr:vavr:0.6.2")
'org.immutables.vavr:vavr:pom:0.6.2'
<dependency org="org.immutables.vavr" name="vavr" rev="0.6.2">
  <artifact name="vavr" type="pom" />
</dependency>
@Grapes(
@Grab(group='org.immutables.vavr', module='vavr', version='0.6.2')
)
libraryDependencies += "org.immutables.vavr" % "vavr" % "0.6.2"
[org.immutables.vavr/vavr "0.6.2"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

  • vavr-checkstyle
  • vavr-encodings
  • vavr-examples

immutables-vavr

Maven Central Maven Central (snapshot) Codacy Badge

A set of Immutables encodings for Vavr.

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

JVM Platform Status
OpenJDK LTS Linux Build (OpenJDK LTS, Linux)
OpenJDK Current Linux Build (OpenJDK Current, Linux)
OpenJDK Current Windows Build (OpenJDK Current, Windows)

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 @VavrEncodingEnabled and have it apply to any types that are using that style. See Styles.

Now, any use of Vavr collections in your abstract value types will magically result in the generated Builder types being augmented with methods to build immutable collections element-by-element. Use of Vavr's Option type will receive the same special treatment as the standard Java Optional type.

org.immutables.vavr

Immutables

Java toolkits around immutability, annotation processing and high performance

Версии библиотеки

Версия
0.6.2
0.6.1
0.6.0
0.5.0
0.4.0