Uses of Class
convex.core.data.ACollection
Packages that use ACollection
Package
Description
Data structures and algorithms, including a complete set of classes
required to implement immutable, decentralised data objects.
CVM type system implementation.
Core CVM implementation
-
Uses of ACollection in convex.core.data
Subclasses of ACollection in convex.core.dataModifier and TypeClassDescriptionclass
class
Abstract base class for lists.class
class
Abstract base class for concrete sequential data structure (immutable persistent lists and vectors etc.)class
Abstract based class for sets.class
ASpecialVector<T extends ACell>
BAse class for specialised vector implementationsclass
Abstract base class for vectors.class
Implementation of a list wrapping a vector.class
Map.Entry implementation for persistent maps.class
Limited size Persistent Merkle Set implemented as a small sorted list of Values Must be sorted by Key hash value to ensure uniqueness of representationclass
Persistent Set for large hash sets requiring tree structure.class
VectorArray<T extends ACell>
Non-canonical vector implementation designed to make operations on small temporary vectors more efficient.class
VectorLeaf<T extends ACell>
A Persistent Vector implementation representing 0-16 elements with a packed Vector prefix.class
VectorTree<T extends ACell>
Persistent Vector implemented as a merkle tree of chunks shift indicates the level of the tree: 4 = 1st level, 8 = second etc.Methods in convex.core.data that return ACollectionModifier and TypeMethodDescriptionabstract ACollection
<T> Adds an element to this collection, according to the natural semantics of the collectionabstract <R extends ACell>
ACollection<R> Maps a function over a collection, applying it to each element in turn.Methods in convex.core.data with parameters of type ACollectionModifier and TypeMethodDescriptionADataStructure.conjAll
(ACollection<? extends E> xs) Adds multiple elements to this data structure, in the natural manner defined by the general data structure type.AHashSet.conjAll
(ACollection<? extends T> elements) ASet.conjAll
(ACollection<? extends T> xs) AVector.conjAll
(ACollection<? extends T> xs) List.conjAll
(ACollection<? extends T> xs) AHashSet.disjAll
(ACollection<T> b) ASet.disjAll
(ACollection<T> xs) Removes all elements from this set, returning a new set. -
Uses of ACollection in convex.core.data.impl
Subclasses of ACollection in convex.core.data.implModifier and TypeClassDescriptionclass
ADerivedSet<T extends ACell,
K extends ACell, V extends ACell> Abstract base class for non-canonical sets derived off maps Useful for cases where we want a Set instance, but don't want to construct a whole new data structureclass
Methods in convex.core.data.impl with parameters of type ACollectionModifier and TypeMethodDescriptionKeySet.conjAll
(ACollection<? extends K> xs) KeySet.disjAll
(ACollection<K> xs) -
Uses of ACollection in convex.core.data.type
Methods in convex.core.data.type that return ACollectionModifier and TypeMethodDescriptionACollection
<?> Collection.defaultValue()
ACollection
<?> Collection.implicitCast
(ACell a) -
Uses of ACollection in convex.core.lang
Methods in convex.core.lang with parameters of type ACollectionModifier and TypeMethodDescriptionRT.vec
(ACollection<T> coll) Converts any collection to a vector.