Thrown if the index does not have an element.
Thrown if the index does not have an element.
Produce the element corresponding to the value of the process at the given index.
Produce the element corresponding to the value of the process at the given index. This method can assume that the indices has already been range checked.
Produce the elements representing the value of the process at the given indices.
Produce the elements representing the value of the process at the given indices. Ensures that any dependencies between the elements are represented. This method must be implemented by implementations of Process. The return value maps each provided index to the corresponding element. This method can assume that the indices has already been range checked.
Returns a new container containing the elements of this container and the argument.
Returns a new container containing the elements of this container and the argument. If an index is defined in both container, the element of the argument is used.
Returns a new process containing the elements of this process and the argument.
Returns a new process containing the elements of this process and the argument. If an index is defined in both processes, the element of the argument is used.
Aggregate the results of applying an operator to each element.
Get the elements representing the value of the process at the given indices.
Get the elements representing the value of the process at the given indices. Throws IndexOutOfRangeException if any index has no value.
Get an element representing the value of the process at the given index.
Get an element representing the value of the process at the given index. Throws IndexOutOfRangeException if the index has no value.
This apply method is cached, so calling process(index) always returns the same element.
Chain every value in this container through the given function, returning a new container.
Returns an element representing the number of elements in the container whose values satisfy the predicate.
Return all the elements in this container as an ordinary Scala Seq.
Return all the elements in this container as an ordinary Scala Seq. This method caches the elements, like apply, so the same elements will be returned every time.
Returns an element representing whether the value of any element in the container satisfies the predicate.
Returns an element representing the optional index of the first element in the container whose value satisfies the predicate.
Returns an element representing the optional index of the first element in the container whose value satisfies the predicate. The result has value None if no element is found.
Chain every value in this container through the given function, returning a new container.
Fold the values in this container through the given function.
Fold the values in this container through the given function.
Returns an element representing whether the values of all elements in the container satisfy the predicate.
Safely get the elements over optional values at all of the indices.
Safely get the elements over optional values at all of the indices. Any index that is not in range will always have value None. Dependencies between elements for indices in range will be produced.
Safely get an element over an optional value at the index.
Safely get an element over an optional value at the index. If the index is in range, the value of the element will be Some(something). If the index is out of range, the value of the element will be None.
Apply the given function to every value in this container, returning a new container.
Choose a random element from this container.
Check whether the given index has an element.
Reduce the values in this container through the given function.
Convert this container into an ordinary Scala map.
A Container is a Process with a defined sequence of indices.