public class MapDifference
extends java.lang.Object
Constructor and Description |
---|
MapDifference() |
Modifier and Type | Method and Description |
---|---|
static <K,V> java.util.Map<K,V> |
diff(java.util.Map<? extends K,? extends V> map1,
java.util.Map<? extends K,? extends V> map2)
this method is to get the difference between map1 and map2.
|
public static <K,V> java.util.Map<K,V> diff(java.util.Map<? extends K,? extends V> map1, java.util.Map<? extends K,? extends V> map2)
K
- - the data type of Key of a MapV
- - the data type of Value of a Mapmap1
- - Map
map2
- - Map
Map