public class CollectionsUtil
extends Object
- Author:
- fcamblor
-
Constructor Summary
Constructors
-
Method Summary
static <T,
U> void
static <T,
U> void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CollectionsUtil
public CollectionsUtil()
-
Method Details
-
minus
public static <T> List<T> minus(List<T> initialList,
List<T> elementsToRemove)
-
toSet
public static <T> Set<T> toSet(List<T> list)
-
mapMergeAdd
public static <T,
U> void mapMergeAdd(Map<T,List<U>> map,
Map<T,List<U>> mapToAdd)
-
mapMergeRemove
public static <T,
U> void mapMergeRemove(Map<T,List<U>> map,
Map<T,List<U>> mapToRemove)