| java.lang.Object snow.utils.CollectionUtils
CollectionUtils | final public class CollectionUtils (Code) | | Some utilities in addition to java.util.Collections
|
intersection | final public static Set<T> intersection(Collection<T> set1, Collection<T> set2)(Code) | | the set of elements that are present in both sets given as arguments. |
notIn | final public static Set<T> notIn(Set<T> a, Set<T> b)(Code) | | the set of the elements of a not present in b |
sameElements | final public static boolean sameElements(Set<T> a, Set<T> b)(Code) | | |
takeLast | final public static List<T> takeLast(List<T> c1, int n)(Code) | | {1,2,3,4,5,6}, 3 => {6,5,4}
|
|
|