Uses of Class
convex.core.data.Index
Packages that use Index
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.
Core CVM implementation
-
Uses of Index in convex.core
Fields in convex.core declared as IndexModifier and TypeFieldDescriptionstatic final Index
<AccountKey, PeerStatus> State.EMPTY_PEERS
State.EMPTY_SCHEDULE
Methods in convex.core that return IndexModifier and TypeMethodDescriptionBelief.getOrders()
Get the map of orders for this BeliefState.getPeers()
Gets the map of Peers for this StateState.getSchedule()
Gets the current schedule data structure for this stateMethods in convex.core with parameters of type IndexModifier and TypeMethodDescriptionstatic State
State.create
(AVector<AccountStatus> accounts, Index<AccountKey, PeerStatus> peers, AVector<ACell> globals, Index<ABlob, AVector<ACell>> schedule) Create a StateBelief.withOrders
(Index<AccountKey, SignedData<Order>> newOrders) Updates this Belief with a new set of Chains for each peer addressState.withPeers
(Index<AccountKey, PeerStatus> newPeers) Updates the Peers in this State -
Uses of Index in convex.core.data
Fields in convex.core.data declared as IndexMethods in convex.core.data that return IndexModifier and TypeMethodDescriptionIndex.assocEntry
(MapEntry<K, V> e) Index.create
(K k, V v) Index.empty()
Index.filterValues
(Predicate<V> pred) AccountStatus.getHoldings()
Gets the holdings for this account.Index.none()
Index.slice
(long start) Slices this Index, starting at the specified position Removes n leading entries from this Index, in key order.Index.slice
(long start, long end) Returns a slice of this IndexIndex.unsafeCreate
(long depth, MapEntry<K, V> entry, Ref<Index>[] entries, int mask, long count) Index.updateRefs
(IRefFunction func) Methods in convex.core.data with parameters of type Index -
Uses of Index in convex.core.lang
Fields in convex.core.lang with type parameters of type IndexMethods in convex.core.lang that return IndexModifier and TypeMethodDescriptionContext.getHoldings()
Gets the holdings map for the current account.