Uses of Interface
convex.core.util.MergeFunction
Packages that use MergeFunction
Package
Description
Data structures and algorithms, including a complete set of classes
required to implement immutable, decentralised data objects.
Convex utility classes and miscellaneous functionality
-
Uses of MergeFunction in convex.core.data
Methods in convex.core.data with parameters of type MergeFunctionModifier and TypeMethodDescriptionAHashMap.mergeDifferences(AHashMap<K,V> b, MergeFunction<V> func)
Merge this map with another map, using the given function for each key that is present in either map and has a different value The function is passed null for missing values in either map, and must return type V.AHashMap.mergeDifferences(AHashMap<K,V> b, MergeFunction<V> func, int shift)
MapLeaf.mergeDifferences(AHashMap<K,V> b, MergeFunction<V> func)
MapLeaf.mergeDifferences(AHashMap<K,V> b, MergeFunction<V> func, int shift)
MapLeaf.mergeDifferences(MapLeaf<K,V> b, MergeFunction<V> func, int shift)
MapTree.mergeDifferences(AHashMap<K,V> b, MergeFunction<V> func)
MapTree.mergeDifferences(AHashMap<K,V> b, MergeFunction<V> func, int shift)
Merge this map with another map, using the given function for each key that is present in either map.AVector.mergeWith(AVector<T> b, MergeFunction<T> func)
Merges this vector with another vector, using the provided merge function. -
Uses of MergeFunction in convex.core.util
Methods in convex.core.util that return MergeFunctionModifier and TypeMethodDescriptiondefault MergeFunction<V>
MergeFunction.reverse()
Reverse a MergeFunction so that it can be applied with opposite ordering.