Uses of Class
ai.badmonkey.agentspaces.pdt.values.PVector
Packages that use PVector
Package
Description
Persistent data trees (srad/agentspaces-pdt.md §3, §6.2): the shared node layer
every persistent value builds on.
The persistent values of srad/agentspaces-pdt.md §3.2 (group V, PD-V-01 to
PD-V-09) and the spill rules of PD-N-05.
-
Uses of PVector in ai.badmonkey.agentspaces.pdt
Methods in ai.badmonkey.agentspaces.pdt that return types with arguments of type PVector -
Uses of PVector in ai.badmonkey.agentspaces.pdt.golden
Methods in ai.badmonkey.agentspaces.pdt.golden that return PVector -
Uses of PVector in ai.badmonkey.agentspaces.pdt.refs
Methods in ai.badmonkey.agentspaces.pdt.refs that return types with arguments of type PVector -
Uses of PVector in ai.badmonkey.agentspaces.pdt.values
Methods in ai.badmonkey.agentspaces.pdt.values that return PVectorModifier and TypeMethodDescriptionA vector with the element at an index replaced.This vector followed by another (PDT 2 phase 6, P2-R-02): in O(log n) node copies when both share this vector's store, else by appending the other's elements one by one, since its nodes live in a store this vector cannot read.A vector with the element appended.static <T> PVector<T> The empty vector over a store.static <T> PVector<T> PVector.empty(NodeStore store, NodeLoader loader, Codec<T> codec) The empty vector over a store with an explicit loader.A vector with an element inserted before an index, at most the count (PDT 2 phase 6, P2-R-02).static <T> PVector<T> PVector.load(NodeStore store, NodeLoader loader, String root, Codec<T> codec) A vector whose root the loader can provide.static <T> PVector<T> A vector whose root is in the store.PVector.packed()The leftwise-densevrvector of the same elements (PDT 2 phase 6, P2-R-03): this vector when it is dense, else a rebuild whose cost is linear in the count.PVector.pop()A vector without its last element.PVector.slice(long from, long to) The elements[from, to)(PDT 2 phase 6, P2-R-02), sharing every node off the two cut paths.A vector withdeleteCountelements fromindexreplaced byelements(PDT 2 phase 6, P2-R-02), in O(log n) node copies plus the new elements.PVector.update(long index, UnaryOperator<T> f) A vector with the element at an index replaced byfof it.VectorEditor.Result.value()Returns the value of thevaluerecord component.Methods in ai.badmonkey.agentspaces.pdt.values with parameters of type PVectorModifier and TypeMethodDescriptionThis vector followed by another (PDT 2 phase 6, P2-R-02): in O(log n) node copies when both share this vector's store, else by appending the other's elements one by one, since its nodes live in a store this vector cannot read.The changed index ranges against a base, descending only where CIDs differ (PD-V-07).Constructors in ai.badmonkey.agentspaces.pdt.values with parameters of type PVector