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 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.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 TypeMethodDescriptionboolean
boolean
boolean
boolean
static Peer
Constructs a Peer instance from persisted PEer Datastatic double
Belief.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 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
class
Base class for record data types.class
Abstract base class for generic records.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
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.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 TypeMethodDescriptionboolean
boolean
abstract boolean
Checks this map for equality with another map.boolean
boolean
Checks this BlobMap for equality with another map.boolean
boolean
boolean
boolean
ABlobMap.equalsKeys(AMap<K,V> map)
abstract boolean
AMap.equalsKeys(AMap<K,V> map)
Returns true if this map has exactly the same keys as the other mapboolean
ARecord.equalsKeys(AMap<Keyword,ACell> map)
boolean
MapLeaf.equalsKeys(AMap<K,V> a)
boolean
MapTree.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