A lazy filtered array. No filtering is applied until one of foreach
, map
or flatMap
is called.
A lazy filtered array. No filtering is applied until one of foreach
, map
or flatMap
is called.
An immutable array with given elements.
An immutable array with given elements.
AttributesAn immutable array with given elements.
An immutable array with given elements.
AttributesAn immutable array with given elements.
An immutable array with given elements.
AttributesAn immutable array with given elements.
An immutable array with given elements.
AttributesAn immutable array with given elements.
An immutable array with given elements.
AttributesAn immutable array with given elements.
An immutable array with given elements.
AttributesAn immutable array with given elements.
An immutable array with given elements.
AttributesAn immutable array with given elements.
An immutable array with given elements.
AttributesAn immutable array with given elements.
An immutable array with given elements.
AttributesAn immutable array with given elements.
An immutable array with given elements.
AttributesConcatenates all arrays into a single immutable array.
Concatenates all arrays into a single immutable array.
Value parametersthe given immutable arrays
the array created from concatenating xss
An immutable array of length 0.
An immutable array of length 0.
AttributesAn immutable boolean array of length 0.
An immutable boolean array of length 0.
AttributesAn immutable byte array of length 0.
An immutable byte array of length 0.
AttributesAn immutable char array of length 0.
An immutable char array of length 0.
AttributesAn immutable double array of length 0.
An immutable double array of length 0.
AttributesAn immutable float array of length 0.
An immutable float array of length 0.
AttributesAn immutable int array of length 0.
An immutable int array of length 0.
AttributesAn immutable long array of length 0.
An immutable long array of length 0.
AttributesAn immutable object array of length 0.
An immutable object array of length 0.
AttributesAn immutable short array of length 0.
An immutable short array of length 0.
AttributesCompare two arrays per element.
Compare two arrays per element.
A more efficient version of xs.sameElements(ys)
.
an array of AnyRef
an array of AnyRef
true if corresponding elements are equal
Returns an immutable array that contains the results of some element computation a number of times. Each element is determined by a separate computation.
Returns an immutable array that contains the results of some element computation a number of times. Each element is determined by a separate computation.
Value parametersthe element computation
the number of elements in the array
Returns a two-dimensional immutable array that contains the results of some element computation a number of times. Each element is determined by a separate computation.
Returns a two-dimensional immutable array that contains the results of some element computation a number of times. Each element is determined by a separate computation.
Value parametersthe element computation
the number of elements in the 1st dimension
the number of elements in the 2nd dimension
Returns a three-dimensional immutable array that contains the results of some element computation a number of times. Each element is determined by a separate computation.
Returns a three-dimensional immutable array that contains the results of some element computation a number of times. Each element is determined by a separate computation.
Value parametersthe element computation
the number of elements in the 1st dimension
the number of elements in the 2nd dimension
the number of elements in the 3nd dimension
Returns a four-dimensional immutable array that contains the results of some element computation a number of times. Each element is determined by a separate computation.
Returns a four-dimensional immutable array that contains the results of some element computation a number of times. Each element is determined by a separate computation.
Value parametersthe element computation
the number of elements in the 1st dimension
the number of elements in the 2nd dimension
the number of elements in the 3nd dimension
the number of elements in the 4th dimension
Returns a five-dimensional immutable array that contains the results of some element computation a number of times. Each element is determined by a separate computation.
Returns a five-dimensional immutable array that contains the results of some element computation a number of times. Each element is determined by a separate computation.
Value parametersthe element computation
the number of elements in the 1st dimension
the number of elements in the 2nd dimension
the number of elements in the 3nd dimension
the number of elements in the 4th dimension
the number of elements in the 5th dimension
Build an array from the iterable collection.
Build an array from the iterable collection.
scala> val a = IArray.from(Seq(1, 5))
val a: IArray[Int] = IArray(1, 5)
scala> val b = IArray.from(Range(1, 5))
val b: IArray[Int] = IArray(1, 2, 3, 4)
Value parameters
the iterable collection
an array consisting of elements of the iterable collection
Returns an immutable array containing repeated applications of a function to a start value.
Returns an immutable array containing repeated applications of a function to a start value.
Value parametersthe function that is repeatedly applied
the number of elements returned by the array
the start value of the array
the immutable array returning len
values in the sequence start, f(start), f(f(start)), ...
Returns an immutable array containing a sequence of increasing integers in a range.
Returns an immutable array containing a sequence of increasing integers in a range.
Value parametersthe end value of the array, exclusive (in other words, this is the first value '''not''' returned)
the start value of the array
the immutable array with values in range start, start + 1, ..., end - 1
up to, but excluding, end
.
Returns an immutable array containing equally spaced values in some integer interval.
Returns an immutable array containing equally spaced values in some integer interval.
Value parametersthe end value of the array, exclusive (in other words, this is the first value '''not''' returned)
the start value of the array
the increment value of the array (may not be zero)
the immutable array with values in start, start + step, ...
up to, but excluding end
Returns an immutable array containing values of a given function over a range of integer values starting from 0.
Returns an immutable array containing values of a given function over a range of integer values starting from 0.
Value parametersThe function computing element values
The number of elements in the array
Returns a two-dimensional immutable array containing values of a given function over ranges of integer values starting from 0
.
Returns a two-dimensional immutable array containing values of a given function over ranges of integer values starting from 0
.
The function computing element values
the number of elements in the 1st dimension
the number of elements in the 2nd dimension
Returns a three-dimensional immutable array containing values of a given function over ranges of integer values starting from 0
.
Returns a three-dimensional immutable array containing values of a given function over ranges of integer values starting from 0
.
The function computing element values
the number of elements in the 1st dimension
the number of elements in the 2nd dimension
the number of elements in the 3rd dimension
Returns a four-dimensional immutable array containing values of a given function over ranges of integer values starting from 0
.
Returns a four-dimensional immutable array containing values of a given function over ranges of integer values starting from 0
.
The function computing element values
the number of elements in the 1st dimension
the number of elements in the 2nd dimension
the number of elements in the 3rd dimension
the number of elements in the 4th dimension
Returns a five-dimensional immutable array containing values of a given function over ranges of integer values starting from 0
.
Returns a five-dimensional immutable array containing values of a given function over ranges of integer values starting from 0
.
The function computing element values
the number of elements in the 1st dimension
the number of elements in the 2nd dimension
the number of elements in the 3rd dimension
the number of elements in the 4th dimension
the number of elements in the 5th dimension
Returns a decomposition of the array into a sequence. This supports a pattern match like { case IArray(x,y,z) => println('3 elements')}
.
Returns a decomposition of the array into a sequence. This supports a pattern match like { case IArray(x,y,z) => println('3 elements')}
.
the selector value
sequence wrapped in a scala.Some, if x
is a Seq, otherwise None
Convert an array into an immutable array without copying, the original array must not be mutated after this or the guaranteed immutablity of IArray will be violated.
Convert an array into an immutable array without copying, the original array must not be mutated after this or the guaranteed immutablity of IArray will be violated.
AttributesThe selection operation on an immutable array.
The selection operation on an immutable array.
Value parametersthe immutable array
the index of the element to select
the element of the array at the given index
The number of elements in an immutable array
The number of elements in an immutable array
Value parametersthe immutable array
Tests whether this array contains a given value as an element.
Tests whether this array contains a given value as an element.
AttributesCopy elements of this array to another array.
Copy elements of this array to another array.
AttributesCopy elements of this array to another array.
Copy elements of this array to another array.
AttributesCopy elements of this array to another array.
Copy elements of this array to another array.
AttributesCounts the number of elements in this array which satisfy a predicate
Counts the number of elements in this array which satisfy a predicate
AttributesThe rest of the array without its n
first elements.
The rest of the array without its n
first elements.
The rest of the array without its n
last elements.
The rest of the array without its n
last elements.
Drops longest prefix of elements that satisfy a predicate.
Drops longest prefix of elements that satisfy a predicate.
AttributesTests whether a predicate holds for at least one element of this array.
Tests whether a predicate holds for at least one element of this array.
AttributesSelects all elements of this array which satisfy a predicate.
Selects all elements of this array which satisfy a predicate.
AttributesSelects all elements of this array which do not satisfy a predicate.
Selects all elements of this array which do not satisfy a predicate.
AttributesFinds the first element of the array satisfying a predicate, if any.
Finds the first element of the array satisfying a predicate, if any.
AttributesBuilds a new array by applying a function to all elements of this array and using the elements of the resulting collections.
Builds a new array by applying a function to all elements of this array and using the elements of the resulting collections.
AttributesFlattens a two-dimensional array by concatenating all its rows into a single array.
Flattens a two-dimensional array by concatenating all its rows into a single array.
AttributesFolds the elements of this array using the specified associative binary operator.
Folds the elements of this array using the specified associative binary operator.
AttributesApplies a binary operator to a start value and all elements of this array, going left to right.
Applies a binary operator to a start value and all elements of this array, going left to right.
AttributesApplies a binary operator to all elements of this array and a start value, going right to left.
Applies a binary operator to all elements of this array and a start value, going right to left.
AttributesTests whether a predicate holds for all elements of this array.
Tests whether a predicate holds for all elements of this array.
AttributesApply f
to each element for its side effects.
Apply f
to each element for its side effects.
Selects the first element of this array.
Selects the first element of this array.
AttributesOptionally selects the first element.
Optionally selects the first element.
AttributesFinds index of first occurrence of some value in this array after or at some start index.
Finds index of first occurrence of some value in this array after or at some start index.
AttributesFinds index of the first element satisfying some predicate after or at some start index.
Finds index of the first element satisfying some predicate after or at some start index.
AttributesProduces the range of all indices of this sequence.
Produces the range of all indices of this sequence.
AttributesThe initial part of the array without its last element.
The initial part of the array without its last element.
AttributesTests whether the array is empty.
Tests whether the array is empty.
AttributesAn iterator yielding the elemenst of this array.
An iterator yielding the elemenst of this array.
AttributesSelects the last element.
Optionally selects the last element.
Optionally selects the last element.
AttributesFinds index of last occurrence of some value in this array before or at a given end index.
Finds index of last occurrence of some value in this array before or at a given end index.
AttributesFinds index of last element satisfying some predicate before or at given end index.
Finds index of last element satisfying some predicate before or at given end index.
AttributesBuilds a new array by applying a function to all elements of this array.
Builds a new array by applying a function to all elements of this array.
AttributesTests whether the array is not empty.
Tests whether the array is not empty.
AttributesA pair of, first, all elements that satisfy predicate p
and, second, all elements that do not.
A pair of, first, all elements that satisfy predicate p
and, second, all elements that do not.
Returns a new array with the elements in reversed order.
Returns a new array with the elements in reversed order.
AttributesComputes a prefix scan of the elements of the array.
Computes a prefix scan of the elements of the array.
AttributesProduces an array containing cumulative results of applying the binary operator going left to right.
Produces an array containing cumulative results of applying the binary operator going left to right.
AttributesProduces an array containing cumulative results of applying the binary operator going right to left.
Produces an array containing cumulative results of applying the binary operator going right to left.
AttributesSelects the interval of elements between the given indices.
Selects the interval of elements between the given indices.
AttributesSorts this array according to the Ordering which results from transforming an implicitly given Ordering with a transformation function.
Sorts this array according to the Ordering which results from transforming an implicitly given Ordering with a transformation function.
AttributesSorts this array according to a comparison function.
Sorts this array according to a comparison function.
AttributesSorts this array according to an Ordering.
Sorts this array according to an Ordering.
AttributesSplits this array into a prefix/suffix pair according to a predicate.
Splits this array into a prefix/suffix pair according to a predicate.
AttributesSplits this array into two at a given position.
Splits this array into two at a given position.
AttributesThe rest of the array without its first element.
The rest of the array without its first element.
AttributesAn array containing the first n
elements of this array.
An array containing the first n
elements of this array.
An array containing the last n
elements of this array.
An array containing the last n
elements of this array.
Takes longest prefix of elements that satisfy a predicate.
Takes longest prefix of elements that satisfy a predicate.
AttributesReturns a mutable copy of this immutable array.
Returns a mutable copy of this immutable array.
Attributes[Since version 3.0.1]
This method implementation is incorrect and calling it can crash your program, please use `IArray.genericWrapArray(myIArray).toArray` instead.
Conversion from IArray to immutable.ArraySeq
Conversion from IArray to immutable.ArraySeq
AttributesConversion from IArray to immutable.ArraySeq
Conversion from IArray to immutable.ArraySeq
AttributesConversion from IArray to immutable.ArraySeq
Conversion from IArray to immutable.ArraySeq
AttributesConversion from IArray to immutable.ArraySeq
Conversion from IArray to immutable.ArraySeq
AttributesConversion from IArray to immutable.ArraySeq
Conversion from IArray to immutable.ArraySeq
AttributesConversion from IArray to immutable.ArraySeq
Conversion from IArray to immutable.ArraySeq
AttributesConversion from IArray to immutable.ArraySeq
Conversion from IArray to immutable.ArraySeq
AttributesConversion from IArray to immutable.ArraySeq
Conversion from IArray to immutable.ArraySeq
AttributesConversion from IArray to immutable.ArraySeq
Conversion from IArray to immutable.ArraySeq
AttributesConversion from IArray to immutable.ArraySeq
Conversion from IArray to immutable.ArraySeq
AttributesConversion from IArray to immutable.ArraySeq
Conversion from IArray to immutable.ArraySeq
AttributesRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4