Package | Description |
---|---|
io.vavr |
Beside
API the io.vavr package contains core types like (Checked)Functions and Tuples. |
io.vavr.collection |
Purely functional collections based on Traversable.
|
io.vavr.concurrent |
This package contains basic building blocks for creating fast, asynchronous, non-blocking parallel code.
|
io.vavr.control |
Class and Description |
---|
Either
Either represents a value of two possible types.
|
Either.Left
The
Left version of an Either . |
Either.Right
The
Right version of an Either . |
Option
Replacement for
Optional . |
Option.None
None is a singleton representation of the undefined
Option . |
Option.Some
Some represents a defined
Option . |
Try
The Try control gives us the ability write safe code without focusing on try-catch blocks in the presence of exceptions.
|
Try.Failure
A failed Try.
|
Try.Success
A succeeded Try.
|
Validation
An implementation similar to scalaz's Validation control.
|
Validation.Invalid
An invalid Validation
|
Validation.Valid
A valid Validation
|
Class and Description |
---|
Option
Replacement for
Optional . |
Class and Description |
---|
Option
Replacement for
Optional . |
Try
The Try control gives us the ability write safe code without focusing on try-catch blocks in the presence of exceptions.
|
Class and Description |
---|
Either
Either represents a value of two possible types.
|
Either.LeftProjection
Deprecated.
Either is right-biased. Use
Either.swap() instead of projections. |
Either.RightProjection
Deprecated.
Either is right-biased. Use
Either.swap() instead of projections. |
Option
Replacement for
Optional . |
Try
The Try control gives us the ability write safe code without focusing on try-catch blocks in the presence of exceptions.
|
Try.WithResources1
A
Try -with-resources builder that operates on one AutoCloseable resource. |
Try.WithResources2
A
Try -with-resources builder that operates on two AutoCloseable resources. |
Try.WithResources3
A
Try -with-resources builder that operates on three AutoCloseable resources. |
Try.WithResources4
A
Try -with-resources builder that operates on four AutoCloseable resources. |
Try.WithResources5
A
Try -with-resources builder that operates on five AutoCloseable resources. |
Try.WithResources6
A
Try -with-resources builder that operates on six AutoCloseable resources. |
Try.WithResources7
A
Try -with-resources builder that operates on seven AutoCloseable resources. |
Try.WithResources8
A
Try -with-resources builder that operates on eight AutoCloseable resources. |
Validation
An implementation similar to scalaz's Validation control.
|
Validation.Builder |
Validation.Builder3 |
Validation.Builder4 |
Validation.Builder5 |
Validation.Builder6 |
Validation.Builder7 |
Validation.Builder8 |
Copyright © 2021. All Rights Reserved.