L - R - D - public static final class Difference.MapDifference<L,R,D> extends Difference<L,R>
N.difference(Collection, Collection),
N.differentSet(Collection, Collection),
N.symmetricDifference(Collection, Collection),
N.symmetricDifferentSet(Collection, Collection),
N.excludeAll(Collection, Collection),
N.excludeAllToSet(Collection, Collection),
N.removeAll(Collection, Collection),
N.intersection(Collection, Collection),
N.commonSet(Collection, Collection)Difference.MapDifference<L,R,D>| Modifier and Type | Method and Description |
|---|---|
boolean |
areEqual() |
static <CK,K1 extends CK,V1,K2 extends CK,V2> |
of(Map<? extends K1,? extends V1> map1,
Map<? extends K2,? extends V2> map2) |
static Difference.MapDifference<Map<String,Object>,Map<String,Object>,Map<String,Pair<Object,Object>>> |
of(Object entity1,
Object entity2) |
String |
toString() |
D |
withDifferentValues()
Returns the entries that appear in both maps, but with different values.
|
inCommon, of, of, onLeftOnly, onRightOnlypublic static <CK,K1 extends CK,V1,K2 extends CK,V2> Difference.MapDifference<Map<K1,V1>,Map<K2,V2>,Map<CK,Pair<V1,V2>>> of(Map<? extends K1,? extends V1> map1, Map<? extends K2,? extends V2> map2)
K1 - V1 - K2 - V2 - L - R - D - map1 - map2 - public static Difference.MapDifference<Map<String,Object>,Map<String,Object>,Map<String,Pair<Object,Object>>> of(Object entity1, Object entity2)
entity1 - entity2 - public D withDifferentValues()
public boolean areEqual()
areEqual in class Difference<L,R>public String toString()
toString in class Difference<L,R>Copyright © 2021. All rights reserved.