javaslang

Immutables.org encodings for Javaslang

License

License

Categories

Categories

Immutables Application Layer Libs Code Generators
GroupId

GroupId

org.immutables.javaslang
ArtifactId

ArtifactId

javaslang
Last Version

Last Version

0.3.0
Release Date

Release Date

Type

Type

pom
Description

Description

javaslang
Immutables.org encodings for Javaslang
Project URL

Project URL

http://github.com/immutables/immutables-javaslang
Project Organization

Project Organization

The Immutables.org authors
Source Code Management

Source Code Management

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

Download javaslang

Filename Size
javaslang-0.3.0.pom 12 KB
Browse

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • javaslang-checkstyle
  • javaslang-encodings
  • javaslang-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.javaslang

Immutables

Java toolkits around immutability, annotation processing and high performance

Versions

Version
0.3.0
0.2.1
0.2.0
0.1.0