Uses of Class
convex.core.data.ADataStructure
Packages that use ADataStructure
Package
Description
Fundamental Convex classes used for the decentralised network
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 ADataStructure in convex.core
Subclasses of ADataStructure in convex.coreModifier and TypeClassDescriptionclass
Class representing a Peer's view of the overall network consensus state.class
A Block contains an ordered collection of signed transactions that may be applied collectively as part of a state update.class
Class representing the result of applying a Block to a State.class
Class representing the result of a Query or Transaction.class
Class representing the immutable state of the CVM State transitions are represented by blocks of transactions, according to the logic: s[n+1] = s[n].applyBlock(b[n]) State contains the following elements - Map of AccountStatus for every Address - Map of PeerStatus for every Peer Address - Global values - Schedule data structure "State. -
Uses of ADataStructure in convex.core.data
Subclasses of ADataStructure in convex.core.dataModifier and TypeClassDescriptionclass
Abstract base class for a sorted radix-tree map of Blobs to values.class
Class representing the current on-chain status of an account.class
ACollection<T extends ACell>
Abstract base class for Persistent Merkle Collectionsclass
class
class
Abstract base class for lists.class
Abstract base class for maps.class
class
Base class for Record data types.class
Abstract base class for generic records.class
Abstract base class for concrete sequential data structure (immutable persistent lists and vectors etc.)class
Abstract based class for sets.class
Abstract base class for vectors.class
BlobMap node implementation supporting: An optional prefix string An optional entry with this prefix Up to 16 child entries at the next level of depthclass
Implementation of a list wrapping a vector.class
Map.Entry implementation for persistent maps.class
Limited size Persistent Merkle Map implemented as a small sorted list of Key/Value pairs Must be sorted by Key hash value to ensure uniqueness of representationclass
Persistent Map for large hash maps requiring tree structure.class
Class describing the on-chain state of a Peer declared on the network.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>
Experimental: implementation of AVector backed by a Java array for temporary usage purposes.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 ADataStructureModifier and TypeMethodDescriptionabstract ADataStructure<E>
Associates a key with a value in this associative data structure.abstract <R extends ACell>
ADataStructure<R>ADataStructure.conj(R x)
Adds an element to this data structure, in the natural manner defined by the general data structure type.<R extends ACell>
ADataStructure<R>AMap.conj(R x)
Adds a new map entry to this map.<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.abstract ADataStructure<E>
ADataStructure.empty()
Returns an empty instance of the same Type as this data structure. -
Uses of ADataStructure in convex.core.data.type
Methods in convex.core.data.type that return ADataStructureModifier and TypeMethodDescriptionDataStructure.defaultValue()
DataStructure.implicitCast(ACell a)
-
Uses of ADataStructure in convex.core.lang
Fields in convex.core.lang with type parameters of type ADataStructureModifier and TypeFieldDescriptionstatic CoreFn<ADataStructure<ACell>>
Core.ASSOC
static CoreFn<ADataStructure<ACell>>
Core.CONJ
static CoreFn<ADataStructure<ACell>>
Core.INTO
Methods in convex.core.lang that return ADataStructureModifier and TypeMethodDescriptionstatic <R extends ACell>
ADataStructure<R>RT.assoc(ADataStructure<R> coll, ACell key, ACell value)
Associates a key position with a given value in an associative data structurestatic ADataStructure<?>
RT.ensureAssociative(ACell o)
Ensures the argument is an associative data structure instance.static <E extends ACell>
ADataStructure<E>RT.ensureDataStructure(ACell a)
Casts to an ADataStructure instanceMethods in convex.core.lang with parameters of type ADataStructureModifier and TypeMethodDescriptionstatic <R extends ACell>
ADataStructure<R>RT.assoc(ADataStructure<R> coll, ACell key, ACell value)
Associates a key position with a given value in an associative data structurestatic ACell
RT.get(ADataStructure<?> coll, ACell key)
Gets an element from a data structure using the given key.static ACell
RT.get(ADataStructure<?> coll, ACell key, ACell notFound)
Gets an element from a data structure using the given key.