Package com.xebialabs.xlrelease.utils
Class Diff<K,A>
java.lang.Object
com.xebialabs.xlrelease.utils.Diff<K,A>
- All Implemented Interfaces:
Serializable
,scala.Equals
,scala.Product
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionafter()
static <K,
A> Diff<K, A> apply
(scala.collection.immutable.Map<K, A> before, scala.collection.immutable.Map<K, A> after) static <K,
A> Diff<K, A> apply
(scala.collection.immutable.Map<K, A> before, scala.collection.immutable.Map<K, A> after, scala.Function2<A, A, Object> areEqual) static <A> Diff<A,
A> apply
(scala.collection.Iterable<A> before, scala.collection.Iterable<A> after) static <K,
A> scala.Function2<A, A, Object> static <K,
A> Diff<K, A> applyWithKeyMapping
(List<A> before, List<A> after, scala.Function1<A, K> keyMapping) static <K,
A> Diff<K, A> applyWithKeyMapping
(scala.collection.Iterable<A> before, scala.collection.Iterable<A> after, scala.Function1<A, K> keyMapping) static <K,
A> Diff<K, A> applyWithKeyMappingAndComparator
(scala.collection.Iterable<A> before, scala.collection.Iterable<A> after, scala.Function1<A, K> keyMapping, scala.Function2<A, A, Object> areEqual) areEqual()
before()
boolean
<K,
A> Diff<K, A> copy
(scala.collection.immutable.Map<K, A> before, scala.collection.immutable.Map<K, A> after, scala.Function2<A, A, Object> areEqual) <K,
A> scala.collection.immutable.Map<K, A> <K,
A> scala.collection.immutable.Map<K, A> <K,
A> scala.Function2<A, A, Object> scala.collection.immutable.Set<K>
scala.collection.Iterable<A>
boolean
<B> B
fold
(B init, scala.Function2<B, scala.Tuple2<K, A>, B> onNew, scala.Function2<B, scala.Tuple2<K, scala.Tuple2<A, A>>, B> onUpdated, scala.Function2<B, scala.Tuple2<K, A>, B> onDeleted) void
foreach
(scala.Function2<K, A, scala.runtime.BoxedUnit> onNew, scala.Function2<K, scala.Tuple2<A, A>, scala.runtime.BoxedUnit> onUpdated, scala.Function2<K, A, scala.runtime.BoxedUnit> onDeleted) void
foreachValue
(scala.Function1<A, scala.runtime.BoxedUnit> onNew, scala.Function1<A, scala.runtime.BoxedUnit> onUpdated, scala.Function1<A, scala.runtime.BoxedUnit> onDeleted) int
hashCode()
scala.collection.immutable.Set<K>
newKeys()
scala.collection.Iterable<A>
int
productElement
(int x$1) productElementName
(int x$1) scala.collection.Iterator<Object>
toString()
static <K,
A> scala.Option<scala.Tuple3<scala.collection.immutable.Map<K, A>, scala.collection.immutable.Map<K, A>, scala.Function2<A, A, Object>>> scala.collection.immutable.Set<K>
scala.collection.Iterable<A>
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
Diff
public Diff()
-
-
Method Details
-
apply
public static <K,A> Diff<K,A> apply(scala.collection.immutable.Map<K, A> before, scala.collection.immutable.Map<K, A> after) -
apply
public static <A> Diff<A,A> apply(scala.collection.Iterable<A> before, scala.collection.Iterable<A> after) -
apply$default$3
-
applyWithKeyMapping
public static <K,A> Diff<K,A> applyWithKeyMapping(scala.collection.Iterable<A> before, scala.collection.Iterable<A> after, scala.Function1<A, K> keyMapping) -
applyWithKeyMapping
-
applyWithKeyMappingAndComparator
-
apply
-
unapply
-
before
-
after
-
areEqual
-
deletedEntries
-
newEntries
-
updatedEntries
-
deletedKeys
-
newKeys
-
updatedKeys
-
deletedValues
-
newValues
-
updatedPairs
-
updatedValues
-
fold
-
foreach
-
foreachValue
-
copy
-
copy$default$1
public <K,A> scala.collection.immutable.Map<K,A> copy$default$1() -
copy$default$2
public <K,A> scala.collection.immutable.Map<K,A> copy$default$2() -
copy$default$3
-
productPrefix
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArity
in interfacescala.Product
-
productElement
- Specified by:
productElement
in interfacescala.Product
-
productIterator
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-