Uses of Class
convex.core.data.ASequence
Packages that use ASequence
Package
Description
Data structures and algorithms, including a complete set of classes
required to implement immutable, decentralised data objects.
CVM type system implementation.
Core CVM implementation
Internal CVM language implementation classes
CVM Operations, effectively the "machine code" of the CVM
Convex utility classes and miscellaneous functionality
-
Uses of ASequence in convex.core.data
Subclasses of ASequence in convex.core.dataModifier and TypeClassDescriptionclass
Abstract base class for lists.class
class
ASpecialVector<T extends ACell>
BAse class for specialised vector implementationsclass
Abstract base class for vectors.class
Implementation of a list wrapping a vector.class
Map.Entry implementation for persistent maps.class
VectorArray<T extends ACell>
Non-canonical vector implementation designed to make operations on small temporary vectors more efficient.class
VectorLeaf<T extends ACell>
A Persistent Vector implementation representing 0-16 elements with a packed Vector prefix.class
VectorTree<T extends ACell>
Persistent Vector implemented as a merkle tree of chunks shift indicates the level of the tree: 4 = 1st level, 8 = second etc.Methods in convex.core.data that return ASequenceModifier and TypeMethodDescriptionUpdates a value at the given position in the sequence.Concatenates the elements from another sequence to the end of this sequence.Adds an element to the sequence in the natural positionASequence.empty()
ASequence.next()
Gets the sequence of all elements after the first, or null if no elements remain after the first (i.e.ASequence.reverse()
Reverses a sequence, converting Lists to Vectors and vice versaASequence.slice
(long start, long end) Produces a slice of this sequence, beginning with the specified start index and of the given length.Methods in convex.core.data with parameters of type ASequenceModifier and TypeMethodDescriptionConcatenates the elements from another sequence to the end of this sequence.Creates a Vector from the contents of an arbitrary sequencestatic AString
Creates a string by joining a sequence of substrings with the given separatorstatic AString
Creates a String by joining a sequence of substrings with the given separatorMethod parameters in convex.core.data with type arguments of type ASequence -
Uses of ASequence in convex.core.data.type
Methods in convex.core.data.type that return ASequence -
Uses of ASequence in convex.core.data.util
Methods in convex.core.data.util with parameters of type ASequenceConstructors in convex.core.data.util with parameters of type ASequenceModifierConstructorDescriptionSequenceSpliterator
(ASequence<T> seq, long start, long end) VectorBuilder
(ASequence<T> seq) -
Uses of ASequence in convex.core.lang
Fields in convex.core.lang with type parameters of type ASequenceMethods in convex.core.lang that return ASequenceModifier and TypeMethodDescriptionstatic ASequence
<?> Concatenates two sequences.RT.ensureSequence
(ACell o) Ensures argument is a sequence data structure.Converts any collection of cells into a Sequence data structure.Methods in convex.core.lang with parameters of type ASequenceModifier and TypeMethodDescriptionContext.compileAll
(ASequence<ACell> forms) Compiles a sequence of forms in the current context.static ASequence
<?> Concatenates two sequences.Prepends an element to a sequential data structure to create a new list. -
Uses of ASequence in convex.core.lang.impl
Methods in convex.core.lang.impl with parameters of type ASequenceConstructors in convex.core.lang.impl with parameters of type ASequence -
Uses of ASequence in convex.core.lang.ops
Methods in convex.core.lang.ops with parameters of type ASequenceModifier and TypeMethodDescriptionRecreates this object with an updated list of child Ops. -
Uses of ASequence in convex.core.util
Methods in convex.core.util with parameters of type ASequenceModifier and TypeMethodDescriptionstatic <T extends ACell,
U>
longUtils.binarySearch
(ASequence<T> data, Function<? super T, U> value, Comparator<U> comparator, U target) Binary Search for an exact or approximate (leftmost) value.static <T extends ACell,
U>
TUtils.binarySearchLeftmost
(ASequence<T> L, Function<? super T, U> value, Comparator<U> comparator, U target) Leftmost Binary Search.