IBM InfoSphere Streams Version 4.1.0
Namespace spl.collection
SPL standard and specialized toolkits > spl 1.2.1 > spl.collection
This namespace contains components for handling collections.
By default this namespace is in scope for SPL programs, so no explicit use statement is required to use them.
Functions
- appendM(blob, list<uint8>): Append to blob.
- appendM(blob, uint8): Append to blob.
- appendM(list<T>, T): Append to a list (mutating version).
- appendM(list<T>[N], T): Append to a list (mutating version).
- at(list<T>, list<uint32>): Multi-element access.
- at(list<T>[N], list<uint32>): Multi-element access.
- blobSize(blob): Get the size of a blob.
- clearM(T): Clear (empty) a list.
- clearM(blob): Clear (empty) a list.
- concat(list<T>, list<T>): Concatenate lists.
- concat(list<T>, list<T>[N]): Concatenate lists.
- concat(list<T>[N], list<T>): Concatenate lists.
- concat(list<T>[N], list<T>[M]): Concatenate lists.
- concatM(list<T>, list<T>): Concatenate lists (mutating version).
- concatM(list<T>, list<T>[N]): Concatenate lists (mutating version).
- concatM(list<T>[N], list<T>): Concatenate lists (mutating version).
- concatM(list<T>[N], list<T>[M]): Concatenate lists (mutating version).
- concatM(set<T>, set<T>): Concatenate sets (mutating version).
- concatM(set<T>, set<T>[N]): Concatenate sets (mutating version).
- concatM(set<T>[N], set<T>): Concatenate sets (mutating version).
- concatM(set<T>[N], set<T>[M]): Concatenate sets (mutating version).
- countDistinct(list<T>): Compute distinct count of a list.
- countDistinct(list<T>[N]): Compute distinct count of a list.
- find(list<T>, T): Find matching values in a list.
- find(list<T>[N], T): Find matching values in a list.
- findFirst(list<T>, T): Find the first occurrence of a matching value in a list, starting at index 0.
- findFirst(list<T>, T, int32): Find the first occurrence of a matching value in a list.
- findFirst(list<T>, list<T>): Find the first occurrence of a matching value sequence in a list, starting at index 0.
- findFirst(list<T>, list<T>, int32): Find the first occurrence of a matching value sequence in a list.
- findFirst(list<T>[N], T): Find the first occurrence of a matching value in a list, starting at index 0.
- findFirst(list<T>[N], T, int32): Find the first occurrence of a matching value in a list.
- findFirst(list<T>[N], list<T>[M]): Find the first occurrence of a matching value sequence in a list, starting at index 0.
- findFirst(list<T>[N], list<T>[M], int32): Find the first occurrence of a matching value sequence in a list.
- findFirstNotOf(list<T>, list<T>): Find the first occurrence of a non-matching value in a list, starting at index 0.
- findFirstNotOf(list<T>, list<T>, int32): Find the first occurrence of a non-matching value in a list.
- findFirstNotOf(list<T>, list<T>[N]): Find the first occurrence of a non-matching value in a list, starting at index 0.
- findFirstNotOf(list<T>, list<T>[N], int32): Find the first occurrence of a non-matching value in a list.
- findFirstNotOf(list<T>[N], list<T>): Find the first occurrence of a non-matching value in a list, starting at index 0.
- findFirstNotOf(list<T>[N], list<T>, int32): Find the first occurrence of a non-matching value in a list.
- findFirstNotOf(list<T>[N], list<T>[M]): Find the first occurrence of a non-matching value in a list, starting at index 0.
- findFirstNotOf(list<T>[N], list<T>[M], int32): Find the first occurrence of a non-matching value in a list.
- findFirstOf(list<T>, list<T>): Find the first occurrence of a matching value in a list, starting at index 0.
- findFirstOf(list<T>, list<T>, int32): Find the first occurrence of a matching value in a list.
- findFirstOf(list<T>, list<T>[N]): Find the first occurrence of a matching value in a list, starting at index 0.
- findFirstOf(list<T>, list<T>[N], int32): Find the first occurrence of a matching value in a list.
- findFirstOf(list<T>[N], list<T>): Find the first occurrence of a matching value in a list, starting at index 0.
- findFirstOf(list<T>[N], list<T>, int32): Find the first occurrence of a matching value in a list.
- findFirstOf(list<T>[N], list<T>[M]): Find the first occurrence of a matching value in a list, starting at index 0.
- findFirstOf(list<T>[N], list<T>[M], int32): Find the first occurrence of a matching value in a list.
- findLast(list<T>, T, int32): Find the last occurrence of a matching value in a list.
- findLast(list<T>, list<T>, int32): Find the last occurrence of a matching value sequence in a list.
- findLast(list<T>[N], T, int32): Find the last occurrence of a matching value in a list.
- findLast(list<T>[N], list<T>[M], int32): Find the last occurrence of a matching value sequence in a list.
- findLastNotOf(list<T>, list<T>, int32): Find the last occurrence of a non-matching value in a list.
- findLastNotOf(list<T>, list<T>[N], int32): Find the last occurrence of a non-matching value in a list.
- findLastNotOf(list<T>[N], list<T>, int32): Find the last occurrence of a non-matching value in a list.
- findLastNotOf(list<T>[N], list<T>[M], int32): Find the last occurrence of a non-matching value in a list.
- findLastOf(list<T>, list<T>, int32): Find the last occurrence of a matching value in a list.
- findLastOf(list<T>, list<T>[N], int32): Find the last occurrence of a matching value in a list.
- findLastOf(list<T>[N], list<T>, int32): Find the last occurrence of a matching value in a list.
- findLastOf(list<T>[N], list<T>[M], int32): Find the last occurrence of a matching value in a list.
- findNotOf(list<T>, list<T>): Find non-matching values in a list.
- findNotOf(list<T>, list<T>[N]): Find non-matching values in a list.
- findNotOf(list<T>[N], list<T>): Find non-matching values in a list.
- findNotOf(list<T>[N], list<T>[M]): Find non-matching values in a list.
- findOf(list<T>, list<T>): Find matching values in a list.
- findOf(list<T>, list<T>[N]): Find matching values in a list.
- findOf(list<T>[N], list<T>): Find matching values in a list.
- findOf(list<T>[N], list<T>[M]): Find matching values in a list.
- has(list<T>, T): Find whether a given value exists in a list.
- has(list<T>[N], T): Find whether a given value exists in a list.
- has(map<K, V>, K): Find whether a given key exists in a map.
- has(map<K, V>[N], K): Find whether a given key exists in a map.
- has(set<T>, T): Find whether a given value exists in a set.
- has(set<T>[N], T): Find whether a given value exists in a set.
- insert(list<T>, T, int32): Insert value into a list.
- insert(list<T>, list<T>, int32): Insert a list of values into a list.
- insert(list<T>, list<T>[N], int32): Insert a list of values into a list.
- insert(list<T>[N], T, int32): Insert value into a list.
- insert(list<T>[N], list<T>, int32): Insert a list of values into a list.
- insert(list<T>[N], list<T>[M], int32): Insert a list of values into a list.
- insert(map<K, V>, K, V): Insert an element into a map.
- insert(map<K, V>[N], K, V): Insert an element into a map.
- insert(set<V>, V): Insert into a set.
- insert(set<V>[N], V): Insert into a set.
- insertM(list<T>, T, int32): Insert value into a list (mutating version).
- insertM(list<T>, list<T>, int32): Insert values into a list (mutating version).
- insertM(list<T>, list<T>[N], int32): Insert values into a list (mutating version).
- insertM(list<T>[N], T, int32): Insert value into a list (mutating version).
- insertM(list<T>[N], list<T>, int32): Insert values into a list (mutating version).
- insertM(list<T>[N], list<T>[M], int32): Insert values into a list (mutating version).
- insertM(map<K, V>, K, V): Insert an element into a map (mutating version).
- insertM(map<K, V>[N], K, V): Insert an element into a map (mutating version).
- insertM(set<V>, V): Insert into a set (mutating version).
- insertM(set<V>[N], V): Insert into a set (mutating version).
- keys(map<K, V>): Return a list of the keys in the given map.
- keys(map<K, V>[N]): Return a list of the keys in the given map.
- lexicographicalCompare(list<T>, list<T>): Compare two lists in lexicographical order.
- lexicographicalCompare(list<T>[N], list<T>[M]): Compare two lists in lexicographical order.
- makeSequence(T, int32): Make a sequence.
- makeSequence(T, int32): Make a sequence.
- makeSequence(T, int32, T): Make a sequence.
- pairwiseCompare(T, list<T>): Compare element-wise, with scalar.
- pairwiseCompare(T, list<T>[N]): Compare element-wise, with scalar.
- pairwiseCompare(list<T>, T): Compare element-wise, with scalar.
- pairwiseCompare(list<T>, list<T>): Compare - element-wise.
- pairwiseCompare(list<T>[N], T): Compare element-wise, with scalar.
- pairwiseCompare(list<T>[N], list<T>[N]): Compare element-wise.
- pairwiseMax(list<T>, list<T>): Compare and fetch the larger - element-wise.
- pairwiseMax(list<T>[N], list<T>[N]): Compare and fetch the larger - element-wise.
- pairwiseMin(list<T>, list<T>): Compare and fetch the smaller - element-wise.
- pairwiseMin(list<T>[N], list<T>[N]): Compare and fetch the smaller - element-wise.
- range(T): Return a list of values in the range from 0 to size(l)-1 Note: This is optimized by the SPL compiler to avoid creating the list in: for (int32 i in range(myList)).
- range(int32): Return a list of values in the range from 0 to limit-1 Note: An empty list is returned if limit <= 0.
- range(int32, int32): Return a list of values in the range from start to limit-1 Note: An empty list is returned if limit <= start.
- range(int32, int32, int32): Return a list of values in the range from start to limit-1, with an increment of step Note: An empty list is returned if limit <= start for positive step or limit >= start for negative step.
- remove(T, int32): Remove values from a list.
- remove(T, int32, int32): Remove values from a list using a range.
- remove(T, list<int32>): Remove values from a list using an index list.
- remove(map<K, V>, K): Remove an element from a map.
- remove(map<K, V>[N], K): Remove an element from a map.
- remove(set<K>, K): Return a set with a key removed.
- remove(set<K>[N], K): Return a set with a key removed.
- removeM(T, int32): Remove values from a list (mutating version).
- removeM(T, int32, int32): Remove values from a list using a range (mutating version).
- removeM(map<K, V>, K): Remove an element from a map (mutating version).
- removeM(map<K, V>[N], K): Remove an element from a map (mutating version).
- removeM(set<K>, K): Remove K from a set (mutating version).
- removeM(set<K>[N], K): Remove K from a set (mutating version).
- reverse(T): Reverse list of values.
- reverseM(T): Reverse list of values (mutating version).
- selectFromList(list<boolean>, T, T): Select element-wise from two lists.
- setDifference(T, T): Compute set difference.
- setIntersection(T, T): Compute set intersection.
- setUnion(T, T): Compute set union.
- size(T): Get the size of a list.
- size(blob): Get the size of a list.
- slice(T, int32, int32): Slice list - extract items from the list.
- slice(T, int32, int32, int32): Slice list - extract items from the list.
- slice(T, int32, int32, int32, int32): Slice list - extract items from the list.
- sort(list<T>): Sort values.
- sort(list<T>[N]): Sort values.
- sortIndices(list<T>): Sort values and return indexes.
- sortIndices(list<T>[N]): Sort values and return indexes.
- sortM(list<T>): Sort values (mutating version).
- sortM(list<T>[N]): Sort values (mutating version).
- toSet(list<T>): Convert a list to a set.
- toSet(list<T>[N]): Convert a list to a set.