Uses of Class
convex.core.data.AHashMap
Packages that use AHashMap
Package
Description
Data structures and algorithms, including a complete set of classes
required to implement immutable, decentralised data objects.
Core CVM implementation
Implementation of the standard Convex Lisp Reader
-
Uses of AHashMap in convex.core.data
Subclasses of AHashMap in convex.core.dataModifier and TypeClassDescriptionclass
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.Methods in convex.core.data with type parameters of type AHashMapModifier and TypeMethodDescriptionConstructs a map with the given keys and values.Maps.empty()
Constructs a map with the given keys and values.Methods in convex.core.data that return AHashMapModifier and TypeMethodDescriptionAHashMap.assocEntry
(MapEntry<K, V> e) AHashMap.assocEntry
(MapEntry<K, V> e, int shift) MapLeaf.assocEntry
(MapEntry<K, V> e) MapLeaf.assocEntry
(MapEntry<K, V> e, int shift) MapTree.assocEntry
(MapEntry<K, V> e) Create a map with a collection of entries.Maps.createWithShift
(int shift, List<MapEntry<K, V>> entries) Create a hashmap with the correct shift and given entries.Dissoc given a Ref to the key value.AHashMap.empty()
ARecord.empty()
AHashMap.filterValues
(Predicate<V> pred) AccountStatus.getEnvironment()
Gets the Environment for this account.Syntax.getMeta()
Gets the metadata for this syntax object.AccountStatus.getMetadata()
Gets the Metadata map for this AccountPeerStatus.getMetadata()
Gets the Metadata of this PeerMaps a function over all entries in this Map to produce updated entries.Merge another map into this map.AHashMap.mergeDifferences
(AHashMap<K, V> b, MergeFunction<V> func) Merge this map with another map, using the given function for each key that is present in either map and has a different value The function is passed null for missing values in either map, and must return type V.AHashMap.mergeDifferences
(AHashMap<K, V> b, MergeFunction<V> func, int shift) MapLeaf.mergeDifferences
(AHashMap<K, V> b, MergeFunction<V> func) MapLeaf.mergeDifferences
(AHashMap<K, V> b, MergeFunction<V> func, int shift) MapLeaf.mergeDifferences
(MapLeaf<K, V> b, MergeFunction<V> func, int shift) MapTree.mergeDifferences
(AHashMap<K, V> b, MergeFunction<V> func) MapTree.mergeDifferences
(AHashMap<K, V> b, MergeFunction<V> func, int shift) Merge this map with another map, using the given function for each key that is present in either map.Read a Hashmap from a Blob.AHashMap.slice
(long start) AHashMap.slice
(long start, long end) MapTree.slice
(long start, long end) MapTree.toCanonical()
ARecord.toHashMap()
Converts this record to a HashMapAHashMap.updateRefs
(IRefFunction func) Methods in convex.core.data that return types with arguments of type AHashMapModifier and TypeMethodDescriptionAccountStatus.getMetadata()
Gets the Metadata map for this AccountMethods in convex.core.data with parameters of type AHashMapModifier and TypeMethodDescriptionabstract boolean
AHashMap.containsAllKeys
(AHashMap<K, V> map) Returns true if this map contains all the same keys as another mapboolean
MapLeaf.containsAllKeys
(AHashMap<K, V> b) boolean
MapTree.containsAllKeys
(AHashMap<K, V> map) static PeerStatus
static Syntax
Wraps a value as a Syntax Object, adding the given new metadatastatic Syntax
Syntax.createUnchecked
(ACell value, AHashMap<ACell, ACell> meta) Merge another map into this map.AHashMap.mergeDifferences
(AHashMap<K, V> b, MergeFunction<V> func) Merge this map with another map, using the given function for each key that is present in either map and has a different value The function is passed null for missing values in either map, and must return type V.AHashMap.mergeDifferences
(AHashMap<K, V> b, MergeFunction<V> func, int shift) MapLeaf.mergeDifferences
(AHashMap<K, V> b, MergeFunction<V> func) MapLeaf.mergeDifferences
(AHashMap<K, V> b, MergeFunction<V> func, int shift) MapTree.mergeDifferences
(AHashMap<K, V> b, MergeFunction<V> func) MapTree.mergeDifferences
(AHashMap<K, V> b, MergeFunction<V> func, int shift) Merges metadata into this syntax object, overriding existing metadataMerge this map with another map, using the given function for each key that is present in either map.AccountStatus.withEnvironment
(AHashMap<Symbol, ACell> newEnvironment) Replaces metadata on this Syntax Object.PeerStatus.withPeerData
(AHashMap<ACell, ACell> newMeta) Method parameters in convex.core.data with type arguments of type AHashMapModifier and TypeMethodDescription -
Uses of AHashMap in convex.core.lang
Fields in convex.core.lang declared as AHashMapModifier and TypeFieldDescriptionCore.ENVIRONMENT
Default initial environment metadata importing core namespaceCore.METADATA
Default initial core metadataFields in convex.core.lang with type parameters of type AHashMapModifier and TypeFieldDescriptionCore.MERGE
Core.META
Core.METADATA
Default initial core metadataMethods in convex.core.lang that return AHashMapModifier and TypeMethodDescriptionRT.ensureHashMap
(ACell a) Casts the argument to a hashmap.Context.getEnvironment()
Gets the current EnvironmentContext.ChainState.getMetadata()
Context.getMetadata()
Gets the metadata for the current AccountContext.lookupMeta
(Address address, Symbol sym) Looks up Metadata for the given symbol in this contextContext.lookupMeta
(Symbol sym) Looks up Metadata for the given symbol in this contextMethods in convex.core.lang that return types with arguments of type AHashMapModifier and TypeMethodDescriptionContext.ChainState.getMetadata()
Context.getMetadata()
Gets the metadata for the current AccountMethods in convex.core.lang with parameters of type AHashMapModifier and TypeMethodDescriptionContext.setPeerData
(AccountKey peerKey, AHashMap<ACell, ACell> data) Sets peer data.Context.ChainState.withEnvironment
(AHashMap<Symbol, ACell> newEnvironment, AHashMap<Symbol, AHashMap<ACell, ACell>> newMeta) -
Uses of AHashMap in convex.core.lang.reader
Methods in convex.core.lang.reader that return AHashMapModifier and TypeMethodDescriptionReaderUtils.interpretMetadata
(ACell metaNode) Converts a metadata object according to the following rule: - Map -> unchanged - Keyword -> {:keyword true} - Any other expression -> {:tag expression}