Uses of Class
convex.core.data.AMap
Packages that use AMap
Package
Description
Data structures and algorithms, including a complete set of classes
required to implement immutable, decentralised data objects.
-
Uses of AMap in convex.core
Subclasses of AMap in convex.coreModifier and TypeClassDescriptionclassClass representing a Peer's view of the overall network consensus state.classA block contains an ordered collection of signed transactions that may be applied collectively as part of a state update.classClass representing the result of applying a Block to a State.classClass representing the result of a Query or Transaction.classClass 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.Methods in convex.core that return AMapModifier and TypeMethodDescriptionState.getEnvironment(Address addr)Gets the environment for a given account, or null if not found.Peer.getPeerData(AStore store)Gets Peer Data from a Store.Peer.toData()Gets the Peer Datat map for this PeerMethods in convex.core with parameters of type AMapModifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanstatic PeerConstructs a Peer instance from persisted PEer Datastatic doubleBelief.prepareStakedOrders(AMap<AccountKey,SignedData<Order>> peerOrders, HashMap<AccountKey,Double> peerStakes, HashMap<Order,Double> dest)Compute the total stake for every distinct Order seen. -
Uses of AMap in convex.core.data
Subclasses of AMap in convex.core.dataModifier and TypeClassDescriptionclassAbstract base class for a sorted radix-tree map of Blobs to values.classClass representing the current on-chain status of an account.classclassBase class for record data types.classAbstract base class for generic records.classBlobMap node implementation supporting: An optional prefix string An optional entry with this prefix Up to 16 child entries at the next level of depthclassLimited 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 representationclassPersistent Map for large hash maps requiring tree structure.classClass describing the on-chain state of a Peer declared on the network.Methods in convex.core.data with type parameters of type AMapMethods in convex.core.data that return AMapModifier and TypeMethodDescriptionAssociates the given key with the specified value.AMap.assocEntry(MapEntry<K,V> e)Associate the given map entry into the map.ARecord.assocEntry(MapEntry<Keyword,ACell> e)Dissociates a key from this map, returning an updated map if the key was removed, or the same unchanged map if the key is not present.AMap.filterValues(Predicate<V> pred)Filters all values in this map with the given predicate.Methods in convex.core.data with parameters of type AMapModifier and TypeMethodDescriptionbooleanbooleanabstract booleanChecks this map for equality with another map.booleanbooleanChecks this BlobMap for equality with another map.booleanbooleanbooleanbooleanABlobMap.equalsKeys(AMap<K,V> map)abstract booleanAMap.equalsKeys(AMap<K,V> map)Returns true if this map has exactly the same keys as the other mapbooleanARecord.equalsKeys(AMap<Keyword,ACell> map)booleanMapLeaf.equalsKeys(AMap<K,V> a)booleanMapTree.equalsKeys(AMap<K,V> a) -
Uses of AMap in convex.core.data.type
Methods in convex.core.data.type that return AMap -
Uses of AMap in convex.core.lang
Fields in convex.core.lang with type parameters of type AMapMethods in convex.core.lang that return AMapModifier and TypeMethodDescriptionConverts the argument to a non-null Map.Methods in convex.core.lang with parameters of type AMapModifier and TypeMethodDescriptionContext.setPeerData(AccountKey peerKey, AMap<ACell,ACell> data)Sets peer data. -
Uses of AMap in convex.core.lang.impl
Methods in convex.core.lang.impl with parameters of type AMapModifier and TypeMethodDescriptionConstructors in convex.core.lang.impl with parameters of type AMap