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