- emptyIfNull
Returns an immutable empty list if the argument is null, or the argument itself
otherwise.
- union
Returns a new list containing the second list appended to the first list. The
List#addAll(Collection
- unmodifiableList
Returns an unmodifiable list backed by the given list. This method uses the
implementation in the de
- intersection
Returns a new list containing all elements that are contained in both given
lists.
- removeAll
Removes the elements in remove from collection. That is, this method returns a
list containing all t
- isEqualList
Tests two lists for value-equality as per the equality contract in
java.util.List#equals(java.lang.O
- subtract
Subtracts all elements in the second list from the first list, placing the
results in a new list. Th
- select
Selects all elements from input collection which match the given predicate into
an output list. A nu
- indexOf
Finds the first index in the given List which matches the given predicate. If
the input List or pred
- longestCommonSubsequence
Returns the longest common subsequence (LCS) of two sequences (lists).
- defaultIfNull
Returns either the passed in list, or if the list is null, the value of
defaultList.
- retainAll
Returns a List containing all the elements in collection that are also in retain
. The cardinality o