vefelite.blogg.se

R grep unique
R grep unique





Splits all items into two collections based on the closure condition.įinds all non-null subsequences of a list. Order using the specified random instance as the source of randomness. Specified random instance as the source of randomness.Ĭreates a new list containing the elements of the specified listĬreates a new list containing the elements of the specified list but in a random Randomly reorders the elements of the specified list using the Randomly reorders the elements of the specified list. Iterate over each element of the list in the reverse order. Modifies this list by removing the element at the specified positionĬreates a new List with the identical contents to this list Support subscript operator for list modification. List subscript assignment operator when given a range as the index and List subscript assignment operator when given a range as the index.

r grep unique r grep unique

PutAt( EmptyRange range, Collection value) Prepends an item to the start of the List.Ī helper method to allow lists to work with subscript operators. To the elements from the original List at the specified index.Ĭreates a new List by inserting all the elements in the given additions ListĬreate a List as a union of a List and an Iterable.Ĭreate a List as a union of a List and an Object.Ĭreate a List as a union of a List and a Collection. To the elements from this List at the specified index.Ĭreates a new List by inserting all the elements in the specified array Overloads the left shift operator to provide an easy way to appendĬreate a new List composed of the elements of the first List minusĮvery occurrence of elements of the given Iterable.Ĭreate a new List composed of the elements of the first List minus every occurrence of theĬreate a List composed of the elements of the first list minusĮvery occurrence of elements of the given Collection.Ĭreate a List composed of the elements of this Iterable, repeatedĬreates a new List by inserting all the elements in the given Iterable Intersect( Iterable right, Comparator comparator) Returns the items from the List excluding the last item.Ĭreate a List composed of the intersection of a List and an Iterable. The given filter - calling the Object#isCase() Iterates over the collection of items and returns each item that matches Using the IDENTITY Closure as a filter - effectively returning all elements which satisfy Groovy truth. Iterates over the collection returning each element that matches Select a List of items from a List using a Collection to Support subscript operator for list access. Support the subscript operator for a List. Support the range subscript operator for a List. With the environment defined by envp and under the working directory dir.įinds the items matching the IDENTITY Closure (i.e. matching Groovy truth).įinds all values matching the closure condition. Passing each item and the item's index (a counter starting atĭetermines if the contents of this list are equal to theĬontents of the given array in the same order.Įxecutes the command specified by the given list.Įxecutes the command specified by the given list, Iterates through a List, passing each item to the given closure. While the given Closure evaluates to true. Returns a suffix of this List where elements are dropped from the front Returns a BufferedIterator that allows examining the next element withoutĭrops the given number of elements from the head of this List.ĭrops the given number of elements from the tail of this List.

r grep unique

Modifies this list by inserting all the elements in the specified array into theĪ convenience method for creating an immutable List.Ĭreates a view list with reversed order, and the order of original list will not change.Ī convenience method for creating a synchronized List.







R grep unique