All Classes and Interfaces
Class
Description
The most basic Vavr functionality is accessed through this API class.
For-comprehension with one Iterable.
For-comprehension with one Either.
For-comprehension with one Future.
For-comprehension with one List.
For-comprehension with one Option.
For-comprehension with one Try.
For-comprehension with one Validation.
For-comprehension with two Iterables.
For-comprehension with two Eithers.
For-comprehension with two Futures.
For-comprehension with two Lists.
For-comprehension with two Options.
For-comprehension with two Trys.
For-comprehension with two Validations.
For-comprehension with three Iterables.
For-comprehension with three Eithers.
For-comprehension with three Futures.
For-comprehension with three Lists.
For-comprehension with three Options.
For-comprehension with three Trys.
For-comprehension with three Validations.
For-comprehension with 4 Iterables.
For-comprehension with 4 Eithers.
For-comprehension with 4 Futures.
For-comprehension with 4 Lists.
For-comprehension with 4 Options.
For-comprehension with 4 Trys.
For-comprehension with 4 Validations.
For-comprehension with 5 Iterables.
For-comprehension with 5 Eithers.
For-comprehension with 5 Futures.
For-comprehension with 5 Lists.
For-comprehension with 5 Options.
For-comprehension with 5 Trys.
For-comprehension with 5 Validations.
For-comprehension with 6 Iterables.
For-comprehension with 6 Eithers.
For-comprehension with 6 Futures.
For-comprehension with 6 Lists.
For-comprehension with 6 Options.
For-comprehension with 6 Trys.
For-comprehension with 6 Validations.
For-comprehension with 7 Iterables.
For-comprehension with 7 Eithers.
For-comprehension with 7 Futures.
For-comprehension with 7 Lists.
For-comprehension with 7 Options.
For-comprehension with 7 Trys.
For-comprehension with 7 Validations.
For-comprehension with 8 Iterables.
For-comprehension with 8 Eithers.
For-comprehension with 8 Futures.
For-comprehension with 8 Lists.
For-comprehension with 8 Options.
For-comprehension with 8 Trys.
For-comprehension with 8 Validations.
A lazily evaluated
For-comprehension with two Eithers.A lazily evaluated
For-comprehension with two Futures.A lazily evaluated
For-comprehension with two Lists.A lazily evaluated
For-comprehension with two Options.A lazily evaluated
For-comprehension with two Trys.A lazily evaluated
For-comprehension with two Validations.A lazily evaluated
For-comprehension with three Eithers.A lazily evaluated
For-comprehension with three Futures.A lazily evaluated
For-comprehension with three Lists.A lazily evaluated
For-comprehension with three Options.A lazily evaluated
For-comprehension with three Trys.A lazily evaluated
For-comprehension with three Validations.A lazily evaluated
For-comprehension with 4 Eithers.A lazily evaluated
For-comprehension with 4 Futures.A lazily evaluated
For-comprehension with 4 Lists.A lazily evaluated
For-comprehension with 4 Options.A lazily evaluated
For-comprehension with 4 Trys.A lazily evaluated
For-comprehension with 4 Validations.A lazily evaluated
For-comprehension with 5 Eithers.A lazily evaluated
For-comprehension with 5 Futures.A lazily evaluated
For-comprehension with 5 Lists.A lazily evaluated
For-comprehension with 5 Options.A lazily evaluated
For-comprehension with 5 Trys.A lazily evaluated
For-comprehension with 5 Validations.A lazily evaluated
For-comprehension with 6 Eithers.A lazily evaluated
For-comprehension with 6 Futures.A lazily evaluated
For-comprehension with 6 Lists.A lazily evaluated
For-comprehension with 6 Options.A lazily evaluated
For-comprehension with 6 Trys.A lazily evaluated
For-comprehension with 6 Validations.A lazily evaluated
For-comprehension with 7 Eithers.A lazily evaluated
For-comprehension with 7 Futures.A lazily evaluated
For-comprehension with 7 Lists.A lazily evaluated
For-comprehension with 7 Options.A lazily evaluated
For-comprehension with 7 Trys.A lazily evaluated
For-comprehension with 7 Validations.A lazily evaluated
For-comprehension with 8 Eithers.A lazily evaluated
For-comprehension with 8 Futures.A lazily evaluated
For-comprehension with 8 Lists.A lazily evaluated
For-comprehension with 8 Options.A lazily evaluated
For-comprehension with 8 Trys.A lazily evaluated
For-comprehension with 8 Validations.Scala-like structural pattern matching for Java.
Base interface for all the Cases
API.Match.Case implementation for simplest caseAPI.Match.Case implementation for a case with 1 intermediate typeAPI.Match.Case implementation for a case with 2 intermediate typesAPI.Match.Case implementation for a case with 3 intermediate typesAPI.Match.Case implementation for a case with 4 intermediate typesAPI.Match.Case implementation for a case with 5 intermediate typesAPI.Match.Case implementation for a case with 6 intermediate typesAPI.Match.Case implementation for a case with 7 intermediate typesAPI.Match.Case implementation for a case with 8 intermediate typesA Pattern is a partial
Function in the sense that a function applications returns an
optional result of type Option<R>.A
API.Match.Pattern implementation for the simplest patternA
API.Match.Pattern implementation for the pattern with 1 intermediate typeA
API.Match.Pattern implementation for the pattern with 2 intermediate typesA
API.Match.Pattern implementation for the pattern with 3 intermediate typesA
API.Match.Pattern implementation for the pattern with 4 intermediate typesA
API.Match.Pattern implementation for the pattern with 5 intermediate typesA
API.Match.Pattern implementation for the pattern with 6 intermediate typesA
API.Match.Pattern implementation for the pattern with 7 intermediate typesA
API.Match.Pattern implementation for the pattern with 8 intermediate typesArray is an immutable Traversable wrapper for
Object[] containing elements of type T.An immutable
BitSet implementation.Builder of the BitSet.
The CharSeq (read: character sequence) collection essentially is a rich String wrapper having all operations
we know from the functional Vavr collections.
Represents a function that accepts a
char-valued argument and produces a result.Represents an operation on a single
char-valued operand that produces
a char-valued result.A Consumer that is allowed to throw checked exceptions.
Represents a function with no arguments.
Represents a function with one argument.
Represents a function with two arguments.
Represents a function with three arguments.
Represents a function with 4 arguments.
Represents a function with 5 arguments.
Represents a function with 6 arguments.
Represents a function with 7 arguments.
Represents a function with 8 arguments.
A Predicate that is allowed to throw checked exceptions.
A Runnable that is allowed to throw checked exceptions.
Represents a value of one of two possible types:
Either.Left or Either.Right.An exception wrapper used to propagate values through exception handling mechanisms.
The
Left version of an Either.Deprecated.
Either is right-biased.
The
Right version of an Either.Deprecated.
Either is right-biased.
Represents a data structure that can be folded (reduced) into a single value.
Represents a function with no arguments.
Represents a function with one argument.
Represents a function with two arguments.
Represents a function with three arguments.
Represents a function with 4 arguments.
Represents a function with 5 arguments.
Represents a function with 6 arguments.
Represents a function with 7 arguments.
Represents a function with 8 arguments.
Represents the result of an asynchronous computation that becomes available at some point in the future.
Deprecated.
Will be removed from public API
An immutable
HashMap implementation based on a
Hash array mapped trie (HAMT).Builder for creating
HashMultimap instances with different container types.An immutable
HashSet implementation.Represents an immutable, indexed sequence of elements.
A compositional alternative to
java.util.Iterator designed for single-pass
traversal of a sequence.Represents a lazily evaluated value.
Interface for immutable, linear sequences.
An immutable
LinkedHashMap implementation that has predictable (insertion-order) iteration.A
LinkedHashMap-based implementation of MultimapBuilder class for creating LinkedHashMultimap instances.
An immutable
HashSet implementation that has predictable (insertion-order) iteration.An immutable
List is an eager sequence of elements.Non-empty
List, consisting of a head and a tail.Representation of the singleton empty
List.An immutable
Map interface.A
API.Match throws a MatchError if no case matches the applied object.An immutable
Multimap interface.Defines the type of container used to store values associated with keys in a Multimap.
This exception is temporarily used during development in order to indicate that an implementation is missing.
A replacement for
Optional.None is a singleton representation of the undefined
Option.Some represents a defined
Option.A collection whose elements are arranged according to a well-defined order.
Represents a partial function
T -> R that may not be defined for all input values of type T.Defines general-purpose predicates which are particularly useful when working with
API.Match.A PriorityQueue.
A
Promise is a write-once container for a read-only Future, allowing the underlying Future
to be completed with a value or an exception.An immutable
Queue stores elements allowing a first-in-first-out (FIFO) retrieval.Base interface for immutable, sequential collections.
An immutable
Set interface.An immutable
SortedMap interface.An immutable
SortedMultimap interface.An immutable
SortedSet interface.An immutable
Stream is lazy sequence of elements which may be infinitely long.Non-empty
Stream, consisting of a head, and tail.The empty Stream.
Represents a recursive, multi-valued data structure whose elements can be traversed in order.
A general Tree interface.
The empty tree.
Represents a tree node.
Tree traversal order.
An immutable
SortedMap implementation backed by a Red-Black tree.Builder class for creating TreeMultimap instances.
SortedSet implementation, backed by a Red/Black Tree.
A control structure that allows writing safe code without explicitly managing try-catch blocks for exceptions.
Represents a successful
Try containing a value.A
Try-with-resources builder that operates on one AutoCloseable resource.A
Try-with-resources builder that operates on two AutoCloseable resources.A
Try-with-resources builder that operates on three AutoCloseable resources.A
Try-with-resources builder that operates on four AutoCloseable resources.A
Try-with-resources builder that operates on five AutoCloseable resources.A
Try-with-resources builder that operates on six AutoCloseable resources.A
Try-with-resources builder that operates on seven AutoCloseable resources.A
Try-with-resources builder that operates on eight AutoCloseable resources.The base interface of all tuples.
A tuple of no elements which can be seen as cartesian product of no components.
A tuple of one element which can be seen as cartesian product of one component.
A tuple of two elements which can be seen as cartesian product of two components.
A tuple of three elements which can be seen as cartesian product of three components.
A tuple of 4 elements which can be seen as cartesian product of 4 components.
A tuple of 5 elements which can be seen as cartesian product of 5 components.
A tuple of 6 elements which can be seen as cartesian product of 6 components.
A tuple of 7 elements which can be seen as cartesian product of 7 components.
A tuple of 8 elements which can be seen as cartesian product of 8 components.
An implementation similar to Scalaz's
Validation control.
A builder that holds two Validation instances, used for combining validations
and applying functions that take two arguments.
A builder that holds three Validation instances, used for combining validations
and applying functions that take three arguments.
A builder that holds four Validation instances, used for combining validations
and applying functions that take four arguments.
A builder that holds five Validation instances, used for combining validations
and applying functions that take five arguments.
A builder that holds six Validation instances, used for combining validations
and applying functions that take six arguments.
A builder that holds seven Validation instances, used for combining validations
and applying functions that take seven arguments.
A builder that holds eight Validation instances, used for combining validations
and applying functions that take eight arguments.
An invalid Validation
A valid Validation
Represents a value in a functional programming context.
Vector is the default Seq implementation that provides effectively constant time access to any element.