There also exist algebraic operators (+, -) to concatenate or subtract lists.
Makes a cast to the object o to state, that this object is a list. Cannot be used for list creation. Use toList for this.
Creates a new list with given input o.
Remark: You can also use:
toList(Object o, Object o),toList(Object o, Object o, Object o), ..., toList(Object o, Object o, Object o, Object o, Object o, Object o, Object o, Object o, Object o, Object o)
todo
Returns the object on position x of the given list, e.g. 'timestamps[0]'.
Returns the index of the given object in the given list.
Return true if the given list is empty else false.
Return the size of the list.
returns true, if the list contains no values.
Return the element of the list l at pos. If the list is a variable or a constant list[pos] can be used.
returns the first element of the list. Same as <List>[0] or elementAt(l,0)
returns the last element of the list.
returns a new list containing every element, except the first element.
Returns a new List containing the elements from position from to position to. If to is not given, the function returns the sublist, starting an from.
Returns a random element from the list.
Returns true, if element is part of the list. Equivalent to indexOf(l, elem) >= 0.
Returns the position of the object elem inside the list. Returns -1 if elem is not found
Returns the highest element in the list
Returns the highest element in the list. Here the elements are treated as Tuples and pos is the number of the attribute that should be used for comparing
returns the lowest element in the list
Returns the lowest element in the list. Here the elements are treated as Tuples and pos is the number of the attribute that should be used for comparing.
Executes the predicate on each element in the list and returns a filtered list
Restricts each Tuple in the list to the given attribute positions. positions must be a comma seperated string (e.g., "1,4,7").
Perform the given expression on each element in the list and returns a list with the mapped elements.
Performs the given expression on each pair of input elements in the list, i.e. input list is treated as (e11,e12,e21,e22,e31,e32, ....)
Returns true, if the expression holds for all elements in the list
Returns true, if the expression is true for any element in the list