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 TypeClassDescriptionclassclassAbstract base class for lists.classclassAbstract base class for persistent lists and vectorsclassAbstract based class for sets.classAbstract base class for vectors.classImplementation of a list wrapping a vector.classMap.Entry implementation for persistent maps.classLimited size Persistent Merkle Set implemented as a small sorted list of Values Must be sorted by Key hash value to ensure uniqueness of representationclassPersistent Set for large hash sets requiring tree structure.classVectorArray<T extends ACell>Experimental: implementation of AVector backed by a Java array for temporary usage purposes.classVectorLeaf<T extends ACell>A Persistent Vector implementation representing 0-16 elements with a packed Vector prefix.classVectorTree<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 <R extends ACell>
ACollection<R>ACollection.conj(R x)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 TypeMethodDescription<R extends ACell>
ADataStructure<R>ADataStructure.conjAll(ACollection<R> xs)Adds multiple elements to this data structure, in the natural manner defined by the general data structure type.AHashSet.conjAll(ACollection<R> elements)ASet.conjAll(ACollection<R> xs)AVector.conjAll(ACollection<R> xs)List.conjAll(ACollection<R> 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.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.