| head() | tail() | get(int) | update(int, T) | prepend(T) | append(T) | |
|---|---|---|---|---|---|---|
| io.vavr.collection.Array | const | linear | const | linear | linear | linear |
| io.vavr.collection.CharSeq | const | linear | const | linear | linear | linear |
| io.vavr.collection.Iterator | const | const | — | — | — | — |
| io.vavr.collection.List | const | const | linear | linear | const | linear |
| io.vavr.collection.Queue | const | consta | linear | linear | const | const |
| io.vavr.collection.PriorityQueue | log | log | — | — | log | log |
| io.vavr.collection.Stream | const | const | linear | linear | constlazy | constlazy |
| io.vavr.collection.Vector | consteff | consteff | consteff | consteff | consteff | consteff |
| contains/Key | add/put | remove | min | |
|---|---|---|---|---|
| io.vavr.collection.HashMap | consteff | consteff | consteff | linear |
| io.vavr.collection.HashSet | consteff | consteff | consteff | linear |
| io.vavr.collection.LinkedHashMap | consteff | linear | linear | linear |
| io.vavr.collection.LinkedHashSet | consteff | linear | linear | linear |
| io.vavr.collection.Tree | log | log | log | log |
| io.vavr.collection.TreeMap | log | log | log | log |
| io.vavr.collection.TreeSet | log | log | log | log |
| Modifier and Type | Interface and Description |
|---|---|
| pack-priv interface | |
| pack-priv interface | |
| public interface | |
| pack-priv interface | |
| pack-priv interface | |
| public interface | |
| pack-priv interface | |
| pack-priv interface | |
| public interface | |
| pack-priv interface | |
| public interface | Iterator<
Component type T>
|
| pack-priv interface | |
| pack-priv interface | |
| public interface | |
| pack-priv interface | |
| public interface | |
| pack-priv interface | |
| public interface | |
| public interface | |
| pack-priv interface | |
| public interface | |
| pack-priv interface | RedBlackTree<
Component type T>Purely functional Red/Black Tree, inspired by Kazu Yamamoto's Haskell implementation. |
| pack-priv interface | |
| public interface | |
| public interface | |
| public interface | |
| public interface | |
| public interface | |
| public interface | Stream<
component type of this Stream T>An immutable |
| pack-priv interface | |
| public interface | |
| pack-priv interface | |
| public interface | |
| pack-priv interface | TreeModule
Because the empty tree |
| pack-priv interface |
| Modifier and Type | Annotation and Description |
|---|---|
| pack-priv @interface |
| Modifier and Type | Class and Description |
|---|---|
| pack-priv abstract class | |
| pack-priv abstract class | AbstractMultimap<
Key type K, Value type V, Multimap type M extends MultimapAn |
| pack-priv abstract class | |
| public class | |
| pack-priv class | BitMappedTrie<T>
A `bit-mapped trie` is a very wide and shallow tree (for integer indices the depth will be `≤6`). |
| public class | CharSeq
The CharSeq (read: character sequence) collection essentially is a rich String wrapper having all operations we know from the functional Vavr collections. |
| pack-priv class | Collections
Internal class, containing helpers. |
| pack-priv class | Comparators
INTERNAL: Common |
| public class | |
| public class | |
| public class | |
| pack-priv class | JavaConverters
THIS CLASS IS INTENDED TO BE USED INTERNALLY ONLY! |
| public class | LinkedHashMap<K, V>
An immutable |
| public class | |
| public class | LinkedHashSet<
Component type T>An immutable |
| pack-priv class | Maps
INTERNAL: Common |
| pack-priv class | Multimaps
INTERNAL: Common |
| pack-priv class | |
| public class | |
| pack-priv class | |
| public class | Queue<
Component type of the Queue T>An immutable |
| public class | |
| public class | |
| public class | |
| public class | Vector<
Component type of the Vector. T>Vector is the default Seq implementation that provides effectively constant time access to any element. |