Uses of Interface
dev.civl.sarl.IF.object.SymbolicSequence
Packages that use SymbolicSequence
Package
Description
The object package provides the
SymbolicObject
interface, which is the root of the symbolic object type hierarchy.Internal interface for the symbolic object module, providing mechanisms for
creating
SymbolicObjects.-
Uses of SymbolicSequence in dev.civl.sarl.IF.object
Methods in dev.civl.sarl.IF.object that return SymbolicSequenceModifier and TypeMethodDescriptionAppends an element to the end of a sequence.<U extends SymbolicExpression>
SymbolicSequence<U> Returns a sequence obtained by applying a function to every element of this sequence; also known as "map".Inserts element at position index, shifting all subsequence elements up one.SymbolicSequence.remove(int index) "Removes" the element at position index, shifting all subsequent elements down one; more precisely, returns a new sequence obtained by removing that element from this sequence."Sets" the element at specified position, or, more precisely, returns a new sequence identical to this except with the element at the specified index set to the given element.If index is less than the original size s, same as set.SymbolicSequence.subSequence(int start, int end) Returns the subsequence whose first element is the element at position start and last element is the element at position end-1. -
Uses of SymbolicSequence in dev.civl.sarl.object.IF
Methods in dev.civl.sarl.object.IF that return SymbolicSequenceModifier and TypeMethodDescription<T extends SymbolicExpression>
SymbolicSequence<T> ObjectFactory.emptySequence()Returns the empty sequence.<T extends SymbolicExpression>
SymbolicSequence<T> Returns aSymbolicSequencecomprising the given sequence of elements.<T extends SymbolicExpression>
SymbolicSequence<T> ObjectFactory.sequence(T[] elements) Returns aSymbolicSequencecomprising the sequence of elements specified as an array.<T extends SymbolicExpression>
SymbolicSequence<T> ObjectFactory.singletonSequence(T element) Returns the sequence of length 1 consisting of the given element.