Uses of Interface
io.vavr.Value

Packages that use Value
Package
Description
Beside API the io.vavr package contains core types like (Checked)Functions and Tuples.
Purely functional collections based on Traversable.
This package contains basic building blocks for creating fast, asynchronous, non-blocking parallel code.
Control structures like the disjoint union type Either, the optional value type Option and Try for exception handling.
  • Uses of Value in io.vavr

    Classes in io.vavr that implement Value
    Modifier and Type
    Class
    Description
    final class 
    Lazy<T>
    Represents a lazy evaluated value.
    Methods in io.vavr with type parameters of type Value
    Modifier and Type
    Method
    Description
    static <T, V extends Value<T>>
    PartialFunction<V,T>
    PartialFunction.getIfDefined()
    Factory method for creating a partial function that maps a given Value to its underlying value.
    Methods in io.vavr that return Value
    Modifier and Type
    Method
    Description
    <U> Value<U>
    Value.map(Function<? super T, ? extends U> mapper)
    Maps the underlying value to a different component type.
    static <T> Value<T>
    Value.narrow(Value<? extends T> value)
    Narrows a widened Value<? extends T> to Value<T> by performing a type-safe cast.
    Value.peek(Consumer<? super T> action)
    Performs the given action on the first element if this is an eager implementation.
    Methods in io.vavr with parameters of type Value
    Modifier and Type
    Method
    Description
    static <T> Value<T>
    Value.narrow(Value<? extends T> value)
    Narrows a widened Value<? extends T> to Value<T> by performing a type-safe cast.
  • Uses of Value in io.vavr.collection

    Subinterfaces of Value in io.vavr.collection
    Modifier and Type
    Interface
    Description
    interface 
    An immutable BitSet implementation.
    interface 
    Interface for immutable, indexed sequences.
    interface 
    io.vavr.collection.Iterator is a compositional replacement for java.util.Iterator whose purpose is to iterate once over a sequence of elements.
    interface 
    Interface for immutable, linear sequences.
    interface 
    List<T>
    An immutable List is an eager sequence of elements.
    interface 
    Map<K,V>
    An immutable Map interface.
    interface 
    An immutable Multimap interface.
    interface 
    Seq<T>
    Interface for immutable sequential data structures.
    interface 
    Set<T>
    An immutable Set interface.
    interface 
    An immutable SortedMap interface.
    interface 
    An immutable SortedMultimap interface.
    interface 
    An immutable SortedSet interface.
    interface 
    An immutable Stream is lazy sequence of elements which may be infinitely long.
    interface 
    An interface for inherently recursive, multi-valued data structures.
    interface 
    Tree<T>
    A general Tree interface.
    Classes in io.vavr.collection that implement Value
    Modifier and Type
    Class
    Description
    final class 
    Array is a Traversable wrapper for Object[] containing elements of type T.
    final class 
    The CharSeq (read: character sequence) collection essentially is a rich String wrapper having all operations we know from the functional Vavr collections.
    final class 
    HashMap<K,V>
    An immutable HashMap implementation based on a Hash array mapped trie (HAMT).
    final class 
    A HashMap-based implementation of Multimap
    final class 
    An immutable HashSet implementation.
    final class 
    An immutable LinkedHashMap implementation that has predictable (insertion-order) iteration.
    final class 
    A LinkedHashMap-based implementation of Multimap
    final class 
    An immutable HashSet implementation that has predictable (insertion-order) iteration.
    static final class 
    Non-empty List, consisting of a head and a tail.
    static final class 
    Representation of the singleton empty List.
    final class 
    A PriorityQueue.
    final class 
    An immutable Queue stores elements allowing a first-in-first-out (FIFO) retrieval.
    static class 
    Non-empty Stream, consisting of a head, and tail.
    static final class 
    The empty Stream.
    static final class 
    The empty tree.
    static final class 
    Represents a tree node.
    final class 
    TreeMap<K,V>
    SortedMap implementation, backed by a Red/Black Tree.
    final class 
    A TreeMap-based implementation of Multimap
    final class 
    SortedSet implementation, backed by a Red/Black Tree.
    final class 
    Vector is the default Seq implementation that provides effectively constant time access to any element.
  • Uses of Value in io.vavr.concurrent

    Subinterfaces of Value in io.vavr.concurrent
    Modifier and Type
    Interface
    Description
    interface 
    A Future is a computation result that becomes available at some point.
  • Uses of Value in io.vavr.control

    Subinterfaces of Value in io.vavr.control
    Modifier and Type
    Interface
    Description
    interface 
    Either<L,R>
    Either represents a value of two possible types.
    interface 
    Replacement for Optional.
    interface 
    Try<T>
    The Try control gives us the ability write safe code without focusing on try-catch blocks in the presence of exceptions.
    interface 
    An implementation similar to scalaz's Validation control.
    Classes in io.vavr.control that implement Value
    Modifier and Type
    Class
    Description
    static final class 
    The Left version of an Either.
    static final class 
    Deprecated.
    Either is right-biased.
    static final class 
    The Right version of an Either.
    static final class 
    Deprecated.
    Either is right-biased.
    static final class 
    None is a singleton representation of the undefined Option.
    static final class 
    Some represents a defined Option.
    static final class 
    A failed Try.
    static final class 
    A succeeded Try.
    static final class 
    An invalid Validation
    static final class 
    A valid Validation